org.apache.ws.jaxme.xs.xml.impl
Class XsTAttributeImpl
java.lang.Object
   org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
       org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
           org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
               org.apache.ws.jaxme.xs.xml.impl.XsTAttributeImpl
org.apache.ws.jaxme.xs.xml.impl.XsTAttributeImpl
- All Implemented Interfaces: 
- XsObject, XsTAnnotated, XsTAttribute, XsTOpenAttrs
- 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>
 
- Author:
- Jochen Wiedmann
 
 
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
XsTAttributeImpl
protected XsTAttributeImpl(XsObject pParent)
createSimpleType
public XsTLocalSimpleType createSimpleType()
- 
- Specified by:
- createSimpleTypein interface- XsTAttribute
 
- 
 
getSimpleType
public XsTLocalSimpleType getSimpleType()
- 
- Specified by:
- getSimpleTypein interface- XsTAttribute
 
- 
 
setType
public void setType(XsQName pType)
- 
- Specified by:
- setTypein interface- XsTAttribute
 
- 
 
setType
public void setType(java.lang.String pType)
             throws org.xml.sax.SAXException
- 
 
- 
- Throws:
- org.xml.sax.SAXException
 
getType
public XsQName getType()
- 
- Specified by:
- getTypein interface- XsTAttribute
 
- 
 
setUse
public void setUse(XsTAttribute.Use pUse)
- 
- Specified by:
- setUsein interface- XsTAttribute
 
- 
 
getUse
public XsTAttribute.Use getUse()
- 
- Specified by:
- getUsein interface- XsTAttribute
 
- 
 
setDefault
public void setDefault(java.lang.String pDefault)
- 
- Specified by:
- setDefaultin interface- XsTAttribute
 
- 
 
getDefault
public java.lang.String getDefault()
- 
- Specified by:
- getDefaultin interface- XsTAttribute
 
- 
 
setFixed
public void setFixed(java.lang.String pFixed)
- 
- Specified by:
- setFixedin interface- XsTAttribute
 
- 
 
getFixed
public java.lang.String getFixed()
- 
- Specified by:
- getFixedin interface- XsTAttribute
 
- 
 
setForm
public void setForm(XsFormChoice pForm)
             throws org.xml.sax.SAXException
- 
- Specified by:
- setFormin interface- XsTAttribute
 
- 
- Throws:
- org.xml.sax.SAXException
 
getForm
public XsFormChoice getForm()
- 
- Specified by:
- getFormin interface- XsTAttribute
 
- 
 
setName
public void setName(XsNCName pName)
- 
- Specified by:
- setNamein interface- XsTAttribute
 
- 
 
getName
public XsNCName getName()
- 
- Specified by:
- getNamein interface- XsTAttribute
 
- 
 
setRef
public void setRef(XsQName pRef)
- 
- Specified by:
- setRefin interface- XsTAttribute
 
- 
 
setRef
public void setRef(java.lang.String pRef)
            throws org.xml.sax.SAXException
- 
 
- 
- Throws:
- org.xml.sax.SAXException
 
getRef
public XsQName getRef()
- 
- Specified by:
- getRefin interface- XsTAttribute
 
- 
 
isGlobal
public boolean isGlobal()
- 
- Specified by:
- isGlobalin interface- XsTAttribute
 
-