| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.ws.jaxme.xs.xml.impl.XsObjectImplorg.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImplorg.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImplorg.apache.ws.jaxme.xs.xml.impl.XsTElementImplxs:element type,
as specified by the following:
<xs:complexType name="element" abstract="true">
<xs:annotation>
<xs:documentation>
The element element can be used either
at the top level to define an element-type binding globally,
or within a content model to either reference a globally-defined
element or type or declare an element-type binding locally.
The ref form is not allowed at the top level.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:sequence>
<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:attributeGroup ref="xs:defRef"/>
<xs:attribute name="type" type="xs:QName"/>
<xs:attribute name="substitutionGroup" type="xs:QName"/>
<xs:attributeGroup ref="xs:occurs"/>
<xs:attribute name="default" type="xs:string"/>
<xs:attribute name="fixed" type="xs:string"/>
<xs:attribute name="nillable" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="abstract" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="final" type="xs:derivationSet"/>
<xs:attribute name="block" type="xs:blockSet"/>
<xs:attribute name="form" type="xs:formChoice"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Constructor Summary | |
| |
Method Summary | |
XsTLocalComplexType | |
XsEKey | |
XsEKeyref | |
XsTLocalSimpleType | |
XsEUnique | |
boolean | |
XsBlockSet |
|
XsTLocalComplexType | |
String | |
XsDerivationSet |
|
String |
|
XsFormChoice |
|
XsTIdentityConstraint[] | |
int | |
int | |
XsNCName |
|
boolean | |
XsQName |
|
XsTLocalSimpleType | |
XsQName | |
XsQName |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void | |
void |
|
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, validate | |
public XsTLocalComplexType createComplexType() throws SAXException
- Specified by:
- createComplexType in interface XsTElement
public XsEKeyref createKeyref()
- Specified by:
- createKeyref in interface XsGIdentityConstraint
public XsTLocalSimpleType createSimpleType() throws SAXException
- Specified by:
- createSimpleType in interface XsTElement
public XsEUnique createUnique()
- Specified by:
- createUnique in interface XsGIdentityConstraint
public XsTLocalComplexType getComplexType()
- Specified by:
- getComplexType in interface XsTElement
public XsTIdentityConstraint[] getIdentityConstraints()
- Specified by:
- getIdentityConstraints in interface XsGIdentityConstraint
public XsTLocalSimpleType getSimpleType()
- Specified by:
- getSimpleType in interface XsTElement
public XsQName getSubstitutionGroup()
- Specified by:
- getSubstitutionGroup in interface XsTElement
public void setAbstract(boolean pAbstract)
- Specified by:
- setAbstract in interface XsTElement
public void setMaxOccurs(String pMaxOccurs)
- Specified by:
- setMaxOccurs in interface XsAGOccurs
public void setMinOccurs(int pMinOccurs)
- Specified by:
- setMinOccurs in interface XsAGOccurs
public void setNillable(boolean pNillable)
- Specified by:
- setNillable in interface XsTElement
public void setRef(String pRef)
throws SAXExceptionpublic void setSubstitutionGroup(String pSubstitutionGroup)
throws SAXExceptionpublic void setSubstitutionGroup(XsQName pSubstitutionGroup) throws SAXException
- Specified by:
- setSubstitutionGroup in interface XsTElement
public void setType(String pType)
throws SAXExceptionpublic void setType(XsQName pType) throws SAXException
- Specified by:
- setType in interface XsTElement
public void validate()
throws SAXExceptionValidates the internal state of the type, attribute, element, or whatever object.
- Specified by:
- validate in interface XsObject
- validate in interface XsAGDefRef
- validate in interface XsAGOccurs
- Overrides:
- validate in interface XsObjectImpl