|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAttributeGroupImpl
Implementation of an xs:attributeGroup,
with the following specification:
<xs:complexType name="attributeGroup" abstract="true">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:group ref="xs:attrDecls"/>
<xs:attributeGroup ref="xs:defRef"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Constructor Summary | |
protected |
XsTAttributeGroupImpl(XsObject pParent)
|
| Method Summary | |
XsTWildcard |
createAnyAttribute()
Creates a new instance of XsTWildcard. |
XsTAttribute |
createAttribute()
Creates a new instance of XsTAttribute. |
XsTAttributeGroupRef |
createAttributeGroup()
Creates a new instance of XsTAttributeGroup. |
java.lang.Object[] |
getAllAttributes()
Returns all objects created by createAttribute(),
createAttributeGroup(), or createAnyAttribute(),
in the order of the corresponding method calls. |
XsTWildcard |
getAnyAttribute()
Returns the instance created by createAnyAttribute(),
or null, if the method wasn't called. |
XsTAttributeGroupRef[] |
getAttributeGroups()
Returns an array of all attribute groups created by createAttributeGroup(); |
XsTAttribute[] |
getAttributes()
Returns an array of all attributes created by createAttribute(). |
XsNCName |
getName()
|
XsQName |
getRef()
|
void |
setName(XsNCName pName)
|
void |
setRef(java.lang.String pRef)
|
void |
setRef(XsQName pRef)
|
void |
validate()
Validates whether the attribute groups constraints are met. |
| Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl |
createAnnotation, getAnnotation, getId, setId |
| Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl |
getOpenAttributes, setAttribute |
| Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl |
asXsQName, 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 org.apache.ws.jaxme.xs.xml.XsTAnnotated |
createAnnotation, getAnnotation, getId, setId |
| Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs |
getOpenAttributes |
| Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject |
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject |
| Constructor Detail |
protected XsTAttributeGroupImpl(XsObject pParent)
| Method Detail |
public void setName(XsNCName pName)
setName in interface XsAGDefRefpublic XsNCName getName()
getName in interface XsAGDefRefpublic void setRef(XsQName pRef)
setRef in interface XsAGDefRef
public void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getRef()
getRef in interface XsAGDefRefpublic XsTAttribute createAttribute()
XsGAttrDeclsCreates a new instance of XsTAttribute.
createAttribute in interface XsGAttrDeclspublic XsTAttribute[] getAttributes()
XsGAttrDeclsReturns an array of all attributes created by
XsGAttrDecls.createAttribute().
getAttributes in interface XsGAttrDeclspublic XsTAttributeGroupRef createAttributeGroup()
XsGAttrDeclsCreates a new instance of XsTAttributeGroup.
createAttributeGroup in interface XsGAttrDeclspublic XsTAttributeGroupRef[] getAttributeGroups()
XsGAttrDeclsReturns an array of all attribute groups created by
XsGAttrDecls.createAttributeGroup();
getAttributeGroups in interface XsGAttrDeclspublic XsTWildcard createAnyAttribute()
XsGAttrDeclsCreates a new instance of XsTWildcard.
createAnyAttribute in interface XsGAttrDeclspublic XsTWildcard getAnyAttribute()
XsGAttrDeclsReturns the instance created by XsGAttrDecls.createAnyAttribute(),
or null, if the method wasn't called.
getAnyAttribute in interface XsGAttrDeclspublic java.lang.Object[] getAllAttributes()
XsGAttrDeclsReturns all objects created by XsGAttrDecls.createAttribute(),
XsGAttrDecls.createAttributeGroup(), or XsGAttrDecls.createAnyAttribute(),
in the order of the corresponding method calls.
getAllAttributes in interface XsGAttrDecls
public void validate()
throws org.xml.sax.SAXException
XsAGDefRefValidates whether the attribute groups constraints are met.
validate in interface XsObjectvalidate in class XsObjectImplorg.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||