org.apache.ws.jaxme.xs.xml.impl
public class XsTAttributeImpl extends XsTAnnotatedImpl implements XsTAttribute
Implementation of xs:attribute, following
this specification:
<xs:complexType name="attribute">
<xs:complexContent>
<xs:extension base="xs:annotated">
<xs:sequence>
<xs:element name="simpleType" minOccurs="0" type="xs:localSimpleType"/>
</xs:sequence>
<xs:attributeGroup ref="xs:defRef"/>
<xs:attribute name="type" type="xs:QName"/>
<xs:attribute name="use" use="optional" default="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="prohibited"/>
<xs:enumeration value="optional"/>
<xs:enumeration value="required"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="default" type="xs:string"/>
<xs:attribute name="fixed" type="xs:string"/>
<xs:attribute name="form" type="xs:formChoice"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
| Constructor Summary | |
|---|---|
| protected | XsTAttributeImpl(XsObject pParent) |
| Method Summary | |
|---|---|
| XsTLocalSimpleType | createSimpleType() |
| String | getDefault() |
| String | getFixed() |
| XsFormChoice | getForm() |
| XsNCName | getName() |
| XsQName | getRef() |
| XsTLocalSimpleType | getSimpleType() |
| XsQName | getType() |
| Use | getUse() |
| boolean | isGlobal() |
| void | setDefault(String pDefault) |
| void | setFixed(String pFixed) |
| void | setForm(XsFormChoice pForm) |
| void | setName(XsNCName pName) |
| void | setRef(XsQName pRef) |
| void | setRef(String pRef) |
| void | setType(XsQName pType) |
| void | setType(String pType) |
| void | setUse(Use pUse) |