net.sf.jaxme.xs.xml.impl
Class XsTLocalElementImpl
java.lang.Object
net.sf.jaxme.xs.xml.impl.XsObjectImpl
net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
net.sf.jaxme.xs.xml.impl.XsTElementImpl
net.sf.jaxme.xs.xml.impl.XsTLocalElementImpl
- All Implemented Interfaces:
- XsAGDefRef, XsAGOccurs, XsGIdentityConstraint, XsObject, XsTAnnotated, XsTElement, XsTLocalElement, XsTNestedParticle, XsTOpenAttrs, XsTParticle
- Direct Known Subclasses:
- XsTLocalAllElementImpl
- public class XsTLocalElementImpl
- extends XsTElementImpl
- implements XsTLocalElement
Implementation of the xs:localElement
type, as
specified by:
<xs:complexType name="localElement">
<xs:complexContent>
<xs:restriction base="xs:element">
<xs:sequence>
<xs:element ref="xs:annotation" minOccurs="0"/>
<xs:choice minOccurs="0">
<xs:element name="simpleType" type="xs:localSimpleType"/>
<xs:element name="complexType" type="xs:localComplexType"/>
</xs:choice>
<xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="substitutionGroup" use="prohibited"/>
<xs:attribute name="final" use="prohibited"/>
<xs:attribute name="abstract" use="prohibited"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
Implementation note: This class doesn't specify any
additional methods. It only disables the 'substitutionGroup',
'final', and 'abstract' attributes.
- Author:
- Jochen Wiedmann
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTElementImpl |
createComplexType, createKey, createKeyref, createSimpleType, createUnique, getAbstract, getBlock, getComplexType, getDefault, getFinal, getFixed, getForm, getIdentityConstraints, getMaxOccurs, getMinOccurs, getName, getNillable, getRef, getSimpleType, getSubstitutionGroup, getType, setBlock, setDefault, setFixed, setForm, setMaxOccurs, setMinOccurs, setName, setNillable, setRef, setRef, setType, setType, validate |
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.XsTElement |
createComplexType, createSimpleType, getAbstract, getBlock, getComplexType, getDefault, getFinal, getFixed, getForm, getNillable, getSimpleType, getSubstitutionGroup, getType, setBlock, setDefault, setFixed, setForm, setNillable, setType |
XsTLocalElementImpl
protected XsTLocalElementImpl(XsObject pParent)
setSubstitutionGroup
public void setSubstitutionGroup(XsQName pSubstitutionGroup)
- Specified by:
setSubstitutionGroup
in interface XsTElement
- Overrides:
setSubstitutionGroup
in class XsTElementImpl
setSubstitutionGroup
public void setSubstitutionGroup(java.lang.String pSubstitutionGroup)
- Overrides:
setSubstitutionGroup
in class XsTElementImpl
setFinal
public void setFinal(XsDerivationSet pFinal)
- Specified by:
setFinal
in interface XsTElement
- Overrides:
setFinal
in class XsTElementImpl
setAbstract
public void setAbstract(boolean pAbstract)
- Specified by:
setAbstract
in interface XsTElement
- Overrides:
setAbstract
in class XsTElementImpl