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
10 * Oliver Kopp - initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.winery.common.ids.definitions.imports;
14 import javax.xml.XMLConstants;
16 import org.eclipse.winery.common.ids.Namespace;
17 import org.eclipse.winery.common.ids.XMLId;
20 * Models an import of type XML Schema Definition
22 * Required for a special treatment in {@link
23 * org.eclipse.winery.repository.Utils.
24 * getAllXSDefinitionsForTypeAheadSelection(short)}
26 public class XSDImportId extends GenericImportId {
28 public XSDImportId(String ns, String id, boolean encoded) {
29 super(ns, id, encoded, XMLConstants.W3C_XML_SCHEMA_NS_URI);
32 public XSDImportId(Namespace ns, XMLId id) {
33 super(ns, id, XMLConstants.W3C_XML_SCHEMA_NS_URI);