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

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.XsERedefineImpl
All Implemented Interfaces:
XsERedefine, XsObject, XsTAnnotated, XsTOpenAttrs

public class XsERedefineImpl
extends XsTAnnotatedImpl
implements XsERedefine

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

  <xs:element name="redefine" id="redefine">
    <xs:annotation>
      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="xs:openAttrs">
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="xs:annotation"/>
            <xs:group ref="xs:redefinable"/>
          </xs:choice>
          <xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/>
          <xs:attribute name="id" type="xs:ID"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsERedefineImpl(XsObject pParent)
           
 
Method Summary
 XsEAnnotation createAnnotation()
           
 XsTAttributeGroup createAttributeGroup()
           
 XsTComplexType createComplexType()
           
 XsTGroup createGroup()
           
 XsETopLevelSimpleType createSimpleType()
           
 java.lang.Object[] getChilds()
          Returns the child elemens.
 XsAnyURI getSchemaLocation()
           
 void setSchemaLocation(XsAnyURI pSchemaLocation)
           
 void validate()
          Validates the types, attributes, elements, ... internal state.
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
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.XsERedefine
getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Constructor Detail

XsERedefineImpl

protected XsERedefineImpl(XsObject pParent)
Method Detail

setSchemaLocation

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

getSchemaLocation

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

createAnnotation

public XsEAnnotation createAnnotation()
Specified by:
createAnnotation in interface XsERedefine
Overrides:
createAnnotation in class XsTAnnotatedImpl

createSimpleType

public XsETopLevelSimpleType createSimpleType()
Specified by:
createSimpleType in interface XsERedefine

createComplexType

public XsTComplexType createComplexType()
Specified by:
createComplexType in interface XsERedefine

createGroup

public XsTGroup createGroup()
Specified by:
createGroup in interface XsERedefine

createAttributeGroup

public XsTAttributeGroup createAttributeGroup()
Specified by:
createAttributeGroup in interface XsERedefine

getChilds

public java.lang.Object[] getChilds()
Description copied from interface: XsERedefine

Returns the child elemens. Any element in the object array is an instance of XsETopLevelSimpleType, XsTComplexType, XsTGroup, or XsTAttributeGroup.

Specified by:
getChilds in interface XsERedefine

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