org.apache.ws.jaxme.xs.xml.impl
Class XsEIncludeImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsEIncludeImpl
All Implemented Interfaces:
XsEInclude, XsObject, XsTAnnotated, XsTOpenAttrs

public class XsEIncludeImpl
extends XsTAnnotatedImpl
implements XsEInclude

Implementation of xs:include, as specified by the following declaration:

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

Author:
Jochen Wiedmann

Constructor Summary
protected XsEIncludeImpl(XsObject pParent)
           
 
Method Summary
 XsAnyURI getSchemaLocation()
           
 void setSchemaLocation(XsAnyURI pSchemaLocation)
           
 void validate()
          Validates the internal state of the type, attribute, element, or whatever object.
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, 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 org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Constructor Detail

XsEIncludeImpl

protected XsEIncludeImpl(XsObject pParent)
Method Detail

setSchemaLocation

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

getSchemaLocation

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

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XsObject
Validates the internal state of the type, attribute, element, or whatever object.

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