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.
Modifier | Constructor and Description |
---|---|
protected |
XsTLocalElementImpl(XsObject pParent) |
Modifier and Type | Method and Description |
---|---|
boolean |
isGlobal() |
void |
setAbstract(boolean pAbstract) |
void |
setFinal(XsDerivationSet pFinal) |
void |
setSubstitutionGroup(java.lang.String pSubstitutionGroup) |
void |
setSubstitutionGroup(XsQName pSubstitutionGroup) |
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
createAnnotation, getAnnotation, getId, setId
getOpenAttributes, setAttribute
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createComplexType, createSimpleType, getAbstract, getBlock, getComplexType, getDefault, getFinal, getFixed, getForm, getNillable, getSimpleType, getSubstitutionGroup, getType, setBlock, setDefault, setFixed, setForm, setNillable, setType
createAnnotation, getAnnotation, getId, setId
getOpenAttributes
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
getName, getRef, setName, setRef, validate
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs, validate
createKey, createKeyref, createUnique, getIdentityConstraints
protected XsTLocalElementImpl(XsObject pParent)
public void setSubstitutionGroup(XsQName pSubstitutionGroup)
setSubstitutionGroup
in interface XsTElement
setSubstitutionGroup
in class XsTElementImpl
public void setSubstitutionGroup(java.lang.String pSubstitutionGroup)
setSubstitutionGroup
in class XsTElementImpl
public void setFinal(XsDerivationSet pFinal)
setFinal
in interface XsTElement
setFinal
in class XsTElementImpl
public void setAbstract(boolean pAbstract)
setAbstract
in interface XsTElement
setAbstract
in class XsTElementImpl
public boolean isGlobal()
isGlobal
in interface XsTElement