org.apache.ws.jaxme.xs.xml.impl
Class XsTElementImpl
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.XsTElementImpl
org.apache.ws.jaxme.xs.xml.impl.XsTElementImpl
- All Implemented Interfaces: 
- XsAGDefRef, XsAGOccurs, XsGIdentityConstraint, XsObject, XsTAnnotated, XsTElement, XsTOpenAttrs
- Direct Known Subclasses: 
- XsTLocalElementImpl, XsTTopLevelElementImpl
- public abstract class XsTElementImpl- extends XsTAnnotatedImpl- implements XsTElement
Implementation of the xs: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>
 
- Author:
- Jochen Wiedmann
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
XsTElementImpl
protected XsTElementImpl(XsObject pParent)
createSimpleType
public XsTLocalSimpleType createSimpleType()
                                    throws org.xml.sax.SAXException
- 
- Specified by:
- createSimpleTypein interface- XsTElement
 
- 
- Throws:
- org.xml.sax.SAXException
 
getSimpleType
public XsTLocalSimpleType getSimpleType()
- 
- Specified by:
- getSimpleTypein interface- XsTElement
 
- 
 
createComplexType
public XsTLocalComplexType createComplexType()
                                      throws org.xml.sax.SAXException
- 
- Specified by:
- createComplexTypein interface- XsTElement
 
- 
- Throws:
- org.xml.sax.SAXException
 
getComplexType
public XsTLocalComplexType getComplexType()
- 
- Specified by:
- getComplexTypein interface- XsTElement
 
- 
 
setType
public void setType(XsQName pType)
             throws org.xml.sax.SAXException
- 
- Specified by:
- setTypein interface- XsTElement
 
- 
- Throws:
- org.xml.sax.SAXException
 
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- XsTElement
 
- 
 
setSubstitutionGroup
public void setSubstitutionGroup(XsQName pSubstitutionGroup)
                          throws org.xml.sax.SAXException
- 
- Specified by:
- setSubstitutionGroupin interface- XsTElement
 
- 
- Throws:
- org.xml.sax.SAXException
 
setSubstitutionGroup
public void setSubstitutionGroup(java.lang.String pSubstitutionGroup)
                          throws org.xml.sax.SAXException
- 
 
- 
- Throws:
- org.xml.sax.SAXException
 
getSubstitutionGroup
public XsQName getSubstitutionGroup()
- 
- Specified by:
- getSubstitutionGroupin interface- XsTElement
 
- 
 
setDefault
public void setDefault(java.lang.String pDefault)
- 
- Specified by:
- setDefaultin interface- XsTElement
 
- 
 
getDefault
public java.lang.String getDefault()
- 
- Specified by:
- getDefaultin interface- XsTElement
 
- 
 
setFixed
public void setFixed(java.lang.String pFixed)
- 
- Specified by:
- setFixedin interface- XsTElement
 
- 
 
getFixed
public java.lang.String getFixed()
- 
- Specified by:
- getFixedin interface- XsTElement
 
- 
 
setNillable
public void setNillable(boolean pNillable)
- 
- Specified by:
- setNillablein interface- XsTElement
 
- 
 
getNillable
public boolean getNillable()
- 
- Specified by:
- getNillablein interface- XsTElement
 
- 
 
setAbstract
public void setAbstract(boolean pAbstract)
- 
- Specified by:
- setAbstractin interface- XsTElement
 
- 
 
getAbstract
public boolean getAbstract()
- 
- Specified by:
- getAbstractin interface- XsTElement
 
- 
 
setFinal
public void setFinal(XsDerivationSet pFinal)
- 
- Specified by:
- setFinalin interface- XsTElement
 
- 
 
getFinal
public XsDerivationSet getFinal()
- 
- Specified by:
- getFinalin interface- XsTElement
 
- 
 
setBlock
public void setBlock(XsBlockSet pBlock)
- 
- Specified by:
- setBlockin interface- XsTElement
 
- 
 
getBlock
public XsBlockSet getBlock()
- 
- Specified by:
- getBlockin interface- XsTElement
 
- 
 
setForm
public void setForm(XsFormChoice pForm)
- 
- Specified by:
- setFormin interface- XsTElement
 
- 
 
getForm
public XsFormChoice getForm()
- 
- Specified by:
- getFormin interface- XsTElement
 
- 
 
validate
public void validate()
              throws org.xml.sax.SAXException
- Description copied from interface: XsAGDefRef
- Validates whether the attribute groups constraints are met. - 
 
- 
- Specified by:
- validatein interface- XsObject
- Overrides:
- validatein class- XsObjectImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
setName
public void setName(XsNCName pName)
- 
- Specified by:
- setNamein interface- XsAGDefRef
 
- 
 
getName
public XsNCName getName()
- 
- Specified by:
- getNamein interface- XsAGDefRef
 
- 
 
setRef
public void setRef(XsQName pRef)
- 
- Specified by:
- setRefin interface- XsAGDefRef
 
- 
 
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- XsAGDefRef
 
- 
 
setMaxOccurs
public void setMaxOccurs(java.lang.String pMaxOccurs)
- Description copied from interface: XsAGOccurs
- Either of 'unbounded' or a nonnegative integer value. - 
 
- 
- Specified by:
- setMaxOccursin interface- XsAGOccurs
 
- 
 
getMaxOccurs
public int getMaxOccurs()
- Description copied from interface: XsAGOccurs
- -1 for 'unbounded' - 
 
- 
- Specified by:
- getMaxOccursin interface- XsAGOccurs
 
- 
 
setMinOccurs
public void setMinOccurs(int pMinOccurs)
- 
- Specified by:
- setMinOccursin interface- XsAGOccurs
 
- 
 
getMinOccurs
public int getMinOccurs()
- 
- Specified by:
- getMinOccursin interface- XsAGOccurs
 
- 
 
createUnique
public XsEUnique createUnique()
- 
- Specified by:
- createUniquein interface- XsGIdentityConstraint
 
- 
 
createKey
public XsEKey createKey()
- 
- Specified by:
- createKeyin interface- XsGIdentityConstraint
 
- 
 
createKeyref
public XsEKeyref createKeyref()
- 
- Specified by:
- createKeyrefin interface- XsGIdentityConstraint
 
- 
 
getIdentityConstraints
public XsTIdentityConstraint[] getIdentityConstraints()
- 
- Specified by:
- getIdentityConstraintsin interface- XsGIdentityConstraint
 
-