1 /* 2 * Copyright 2003, 2004 The Apache Software Foundation 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 16 */ 17 package org.apache.ws.jaxme.xs.xml; 18 19 20 /** <p>Interface of <code>xs:import</code>, as specified by 21 * the following: 22 * <pre> 23 * <xs:element name="import" id="import"> 24 * <xs:annotation> 25 * <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/> 26 * </xs:annotation> 27 * <xs:complexType> 28 * <xs:complexContent> 29 * <xs:extension base="xs:annotated"> 30 * <xs:attribute name="namespace" type="xs:anyURI"/> 31 * <xs:attribute name="schemaLocation" type="xs:anyURI"/> 32 * </xs:extension> 33 * </xs:complexContent> 34 * </xs:complexType> 35 * </xs:element> 36 * </pre></p> 37 * 38 * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a> 39 */ 40 public interface XsEImport extends XsTAnnotated { 41 public void setNamespace(XsAnyURI pNamespace); 42 43 public XsAnyURI getNamespace(); 44 45 public void setSchemaLocation(XsAnyURI pSchemaLocation); 46 47 public XsAnyURI getSchemaLocation(); 48 } 49