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>
XsTAttribute.UseOPTIONAL, PROHIBITED, REQUIRED| Modifier | Constructor and Description |
|---|---|
protected |
XsTAttributeImpl(XsObject pParent) |
| Modifier and Type | Method and Description |
|---|---|
XsTLocalSimpleType |
createSimpleType() |
java.lang.String |
getDefault() |
java.lang.String |
getFixed() |
XsFormChoice |
getForm() |
XsNCName |
getName() |
XsQName |
getRef() |
XsTLocalSimpleType |
getSimpleType() |
XsQName |
getType() |
XsTAttribute.Use |
getUse() |
boolean |
isGlobal() |
void |
setDefault(java.lang.String pDefault) |
void |
setFixed(java.lang.String pFixed) |
void |
setForm(XsFormChoice pForm) |
void |
setName(XsNCName pName) |
void |
setRef(java.lang.String pRef) |
void |
setRef(XsQName pRef) |
void |
setType(java.lang.String pType) |
void |
setType(XsQName pType) |
void |
setUse(XsTAttribute.Use pUse) |
createAnnotation, getAnnotation, getId, setIdgetOpenAttributes, setAttributeasXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAnnotation, getAnnotation, getId, setIdgetOpenAttributesgetLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validateprotected XsTAttributeImpl(XsObject pParent)
public XsTLocalSimpleType createSimpleType()
createSimpleType in interface XsTAttributepublic XsTLocalSimpleType getSimpleType()
getSimpleType in interface XsTAttributepublic void setType(XsQName pType)
setType in interface XsTAttributepublic void setType(java.lang.String pType)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getType()
getType in interface XsTAttributepublic void setUse(XsTAttribute.Use pUse)
setUse in interface XsTAttributepublic XsTAttribute.Use getUse()
getUse in interface XsTAttributepublic void setDefault(java.lang.String pDefault)
setDefault in interface XsTAttributepublic java.lang.String getDefault()
getDefault in interface XsTAttributepublic void setFixed(java.lang.String pFixed)
setFixed in interface XsTAttributepublic java.lang.String getFixed()
getFixed in interface XsTAttributepublic void setForm(XsFormChoice pForm) throws org.xml.sax.SAXException
setForm in interface XsTAttributeorg.xml.sax.SAXExceptionpublic XsFormChoice getForm()
getForm in interface XsTAttributepublic void setName(XsNCName pName)
setName in interface XsTAttributepublic XsNCName getName()
getName in interface XsTAttributepublic void setRef(XsQName pRef)
setRef in interface XsTAttributepublic void setRef(java.lang.String pRef)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic XsQName getRef()
getRef in interface XsTAttributepublic boolean isGlobal()
isGlobal in interface XsTAttribute