Add winery source code
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.common / src / main / java / org / eclipse / winery / common / ids / definitions / imports / XSDImportId.java
1 /*******************************************************************************
2  * Copyright (c) 2013 University of Stuttgart.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and the Apache License 2.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *     Oliver Kopp - initial API and implementation
11  *******************************************************************************/
12 package org.eclipse.winery.common.ids.definitions.imports;
13
14 import javax.xml.XMLConstants;
15
16 import org.eclipse.winery.common.ids.Namespace;
17 import org.eclipse.winery.common.ids.XMLId;
18
19 /**
20  * Models an import of type XML Schema Definition
21  * 
22  * Required for a special treatment in {@link
23  * org.eclipse.winery.repository.Utils.
24  * getAllXSDefinitionsForTypeAheadSelection(short)}
25  */
26 public class XSDImportId extends GenericImportId {
27         
28         public XSDImportId(String ns, String id, boolean encoded) {
29                 super(ns, id, encoded, XMLConstants.W3C_XML_SCHEMA_NS_URI);
30         }
31         
32         public XSDImportId(Namespace ns, XMLId id) {
33                 super(ns, id, XMLConstants.W3C_XML_SCHEMA_NS_URI);
34         }
35         
36 }