|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.xs.impl.XSObjectImpl org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl org.apache.ws.jaxme.xs.impl.XSElementImpl
public class XSElementImpl
Constructor Summary | |
---|---|
protected |
XSElementImpl(XSObject pParent,
XsTElement pBaseElement)
|
Method Summary | |
---|---|
XSAnnotation[] |
getAnnotations()
Returns the array of annotations. |
java.lang.String |
getDefault()
Returns the elements "default" value or null, if no such attribute is set. |
java.lang.String |
getFixed()
Returns the elements "fixed" value or null, if no such attribute is set. |
XSIdentityConstraint[] |
getIdentityConstraints()
Fetch all of the identity constraints that this element places upon its child tags. |
XSKeyRef[] |
getKeyRefs()
Fetch all of the keyref's declared by this element. |
XsQName |
getName()
Returns the elements name. |
XSGroup |
getSubstitutionGroup()
If the element may be substituted by other elements (in other words: if it is the head of a substitution group), returns the choice group of all the elements that may be used to replace the element. |
XsQName |
getSubstitutionGroupName()
Returns the name of an element, which may be substituted by this element. |
XSType |
getType()
Returns the elements type. |
protected XsTElement |
getXsTElement()
|
boolean |
isAbstract()
Returns whether the element is abstract or not. |
boolean |
isBlockedForSubstitution()
Returns whether this element is blocked for substitution. |
boolean |
isGlobal()
Returns whether the element is global or not. |
protected boolean |
isInnerComplexType()
|
protected boolean |
isInnerSimpleType()
|
boolean |
isNillable()
Returns whether the element is nillable or not. |
boolean |
isReference()
Returns, whether the element is created by referencing another element. |
protected boolean |
isValidated()
|
void |
setSubstitutionGroup(XSGroup pGroup)
If the element may be substituted by other elements (in other words: if it is the head of a substitution group), sets the choice group of all the elements that may be used to replace the element. |
void |
validate()
Validates the objects internal state. |
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl |
---|
getOpenAttributes |
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl |
---|
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject, validateAllIn |
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.XSOpenAttrs |
---|
getOpenAttributes |
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject |
---|
getLocator, getParentObject, getXSSchema, isTopLevelObject |
Constructor Detail |
---|
protected XSElementImpl(XSObject pParent, XsTElement pBaseElement) throws org.xml.sax.SAXException
org.xml.sax.SAXException
Method Detail |
---|
protected XsTElement getXsTElement()
public boolean isReference()
XSElement
isReference
in interface XSElement
protected boolean isInnerSimpleType()
protected boolean isInnerComplexType()
public boolean isGlobal()
XSElement
Returns whether the element is global or not.
isGlobal
in interface XSElement
public boolean isNillable()
XSElement
Returns whether the element is nillable or not.
isNillable
in interface XSElement
public XsQName getName()
XSElement
Returns the elements name. Note that, unlike types, an element always has a name.
getName
in interface XSElement
public XSType getType()
XSElement
Returns the elements type.
getType
in interface XSElement
protected boolean isValidated()
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
validate
in interface XSObject
validate
in class XSObjectImpl
org.xml.sax.SAXException
public XSAnnotation[] getAnnotations()
XSElement
Returns the array of annotations.
getAnnotations
in interface XSElement
public java.lang.String getDefault()
XSElement
Returns the elements "default" value or null, if no such attribute is set.
getDefault
in interface XSElement
public java.lang.String getFixed()
XSElement
Returns the elements "fixed" value or null, if no such attribute is set.
getFixed
in interface XSElement
public XsQName getSubstitutionGroupName()
XSElement
Returns the name of an element, which may be substituted by this element.
getSubstitutionGroupName
in interface XSElement
public boolean isBlockedForSubstitution()
XSElement
Returns whether this element is blocked for substitution.
isBlockedForSubstitution
in interface XSElement
public boolean isAbstract()
XSElement
Returns whether the element is abstract or not.
isAbstract
in interface XSElement
public void setSubstitutionGroup(XSGroup pGroup)
XSElement
If the element may be substituted by other elements (in other words: if it is the head of a substitution group), sets the choice group of all the elements that may be used to replace the element. The element itself is part of the substitution group if, and only if, the element is not abstract.
setSubstitutionGroup
in interface XSElement
public XSGroup getSubstitutionGroup()
XSElement
If the element may be substituted by other elements (in other words: if it is the head of a substitution group), returns the choice group of all the elements that may be used to replace the element. The element itself is part of the substitution group if, and only if, the element is not abstract.
getSubstitutionGroup
in interface XSElement
public XSIdentityConstraint[] getIdentityConstraints()
XSElement
getIdentityConstraints
in interface XSElement
public XSKeyRef[] getKeyRefs()
XSElement
getKeyRefs
in interface XSElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |