org.apache.ws.jaxme.xs.xml
Interface XsTAttribute
- All Superinterfaces: 
- XsObject, XsTAnnotated, XsTOpenAttrs
- All Known Implementing Classes: 
- XsTAttributeImpl
- public interface XsTAttribute- extends XsTAnnotated
Interface 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>
 
- Author:
- Jochen Wiedmann
 
 
 
 
 
 
PROHIBITED
public static final XsTAttribute.Use PROHIBITED
OPTIONAL
public static final XsTAttribute.Use OPTIONAL
REQUIRED
public static final XsTAttribute.Use REQUIRED
createSimpleType
public XsTLocalSimpleType createSimpleType()
- 
 
- 
 
getSimpleType
public XsTLocalSimpleType getSimpleType()
- 
 
- 
 
setType
public void setType(XsQName pType)
- 
 
- 
 
getType
public XsQName getType()
- 
 
- 
 
setUse
public void setUse(XsTAttribute.Use pUse)
- 
 
- 
 
getUse
public XsTAttribute.Use getUse()
- 
 
- 
 
setDefault
public void setDefault(java.lang.String pDefault)
- 
 
- 
 
getDefault
public java.lang.String getDefault()
- 
 
- 
 
setFixed
public void setFixed(java.lang.String pFixed)
- 
 
- 
 
getFixed
public java.lang.String getFixed()
- 
 
- 
 
setForm
public void setForm(XsFormChoice pForm)
             throws org.xml.sax.SAXException
- 
 
- 
- Throws:
- org.xml.sax.SAXException
 
getForm
public XsFormChoice getForm()
- 
 
- 
 
setName
public void setName(XsNCName pName)
- 
 
- 
 
getName
public XsNCName getName()
- 
 
- 
 
setRef
public void setRef(XsQName pRef)
- 
 
- 
 
getRef
public XsQName getRef()
- 
 
- 
 
isGlobal
public boolean isGlobal()
- 
 
-