net.sf.jaxme.xs.xml.impl
Class XsEImportImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended bynet.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended bynet.sf.jaxme.xs.xml.impl.XsEImportImpl
All Implemented Interfaces:
XsEImport, XsObject, XsTAnnotated, XsTOpenAttrs

public class XsEImportImpl
extends XsTAnnotatedImpl
implements XsEImport

Implementation of xs:import, as specified by the following:

  <xs:element name="import" id="import">
    <xs:annotation>
      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-import"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="xs:annotated">
          <xs:attribute name="namespace" type="xs:anyURI"/>
          <xs:attribute name="schemaLocation" type="xs:anyURI"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsEImportImpl(XsObject pParent)
           
 
Method Summary
 XsAnyURI getNamespace()
           
 XsAnyURI getSchemaLocation()
           
 void setNamespace(XsAnyURI pNamespace)
           
 void setSchemaLocation(XsAnyURI pSchemaLocation)
           
 void validate()
          Validates the types, attributes, elements, ... internal state.
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Constructor Detail

XsEImportImpl

protected XsEImportImpl(XsObject pParent)
Method Detail

setNamespace

public void setNamespace(XsAnyURI pNamespace)
Specified by:
setNamespace in interface XsEImport

getNamespace

public XsAnyURI getNamespace()
Specified by:
getNamespace in interface XsEImport

setSchemaLocation

public void setSchemaLocation(XsAnyURI pSchemaLocation)
Specified by:
setSchemaLocation in interface XsEImport

getSchemaLocation

public XsAnyURI getSchemaLocation()
Specified by:
getSchemaLocation in interface XsEImport

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XsObject

Validates the types, attributes, elements, ... internal state.

Specified by:
validate in interface XsObject
Overrides:
validate in class XsObjectImpl
Throws:
org.xml.sax.SAXException