|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.impl.XSObjectImpl
org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl
org.apache.ws.jaxme.xs.impl.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. |
protected boolean |
isReference()
|
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
| Method Detail |
protected XsTElement getXsTElement()
protected boolean isReference()
protected boolean isInnerSimpleType()
protected boolean isInnerComplexType()
public boolean isGlobal()
XSElementReturns whether the element is global or not.
isGlobal in interface XSElementpublic boolean isNillable()
XSElementReturns whether the element is nillable or not.
isNillable in interface XSElementpublic XsQName getName()
XSElementReturns the elements name. Note that, unlike types, an element always has a name.
getName in interface XSElementpublic XSType getType()
XSElementReturns the elements type.
getType in interface XSElementprotected boolean isValidated()
public void validate()
throws org.xml.sax.SAXException
XSObjectValidates the objects internal state.
validate in interface XSObjectvalidate in class XSObjectImplorg.xml.sax.SAXExceptionpublic XSAnnotation[] getAnnotations()
XSElementReturns the array of annotations.
getAnnotations in interface XSElementpublic java.lang.String getDefault()
XSElementReturns the elements "default" value or null, if no such attribute is set.
getDefault in interface XSElementpublic java.lang.String getFixed()
XSElementReturns the elements "fixed" value or null, if no such attribute is set.
getFixed in interface XSElementpublic XsQName getSubstitutionGroupName()
XSElementReturns the name of an element, which may be substituted by this element.
getSubstitutionGroupName in interface XSElementpublic boolean isBlockedForSubstitution()
XSElementReturns whether this element is blocked for substitution.
isBlockedForSubstitution in interface XSElementpublic boolean isAbstract()
XSElementReturns whether the element is abstract or not.
isAbstract in interface XSElementpublic void setSubstitutionGroup(XSGroup pGroup)
XSElementIf 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 XSElementpublic XSGroup getSubstitutionGroup()
XSElementIf 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 XSElementpublic XSIdentityConstraint[] getIdentityConstraints()
XSElement
getIdentityConstraints in interface XSElementpublic XSKeyRef[] getKeyRefs()
XSElement
getKeyRefs in interface XSElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||