net.sf.jaxme.xs.xml
Interface XsTElement

All Superinterfaces:
XsAGDefRef, XsAGOccurs, XsGIdentityConstraint, XsObject, XsTAnnotated
All Known Subinterfaces:
XsTLocalElement, XsTTopLevelElement
All Known Implementing Classes:
XsTElementImpl, XsTLocalElementImpl, XsTTopLevelElementImpl

public interface XsTElement
extends XsTAnnotated, XsAGDefRef, XsAGOccurs, XsGIdentityConstraint

Implementation of the xs:element type, as specified by the following:

  
    
      
        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.
      
    
    
      
        
          
            
            
          
          
        
        
        
        
        
        
        
        
        
        
        
        
      
    
  
 

Author:
Jochen Wiedmann

Method Summary
 XsTLocalComplexType createComplexType()
           
 XsTLocalSimpleType createSimpleType()
           
 boolean getAbstract()
           
 XsBlockSet getBlock()
           
 XsTLocalComplexType getComplexType()
           
 java.lang.String getDefault()
           
 XsDerivationSet getFinal()
           
 java.lang.String getFixed()
           
 XsFormChoice getForm()
           
 boolean getNillable()
           
 XsTLocalSimpleType getSimpleType()
           
 XsQName getSubstitutionGroup()
           
 XsQName getType()
           
 void setAbstract(boolean pAbstract)
           
 void setBlock(XsBlockSet pBlock)
           
 void setDefault(java.lang.String pDefault)
           
 void setFinal(XsDerivationSet pFinal)
           
 void setFixed(java.lang.String pFixed)
           
 void setForm(XsFormChoice pForm)
           
 void setNillable(boolean pNillable)
           
 void setSubstitutionGroup(XsQName pSubstitutionGroup)
           
 void setType(XsQName pType)
           
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsAGDefRef
getName, getRef, setName, setRef, validate
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsAGOccurs
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs, validate
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsGIdentityConstraint
createKey, createKeyref, createUnique, getIdentityConstraints
 

Method Detail

createSimpleType

public XsTLocalSimpleType createSimpleType()
                                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getSimpleType

public XsTLocalSimpleType getSimpleType()

createComplexType

public XsTLocalComplexType createComplexType()
                                      throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getComplexType

public XsTLocalComplexType getComplexType()

setType

public void setType(XsQName pType)
             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getType

public XsQName getType()

setSubstitutionGroup

public void setSubstitutionGroup(XsQName pSubstitutionGroup)

getSubstitutionGroup

public XsQName getSubstitutionGroup()

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()

setNillable

public void setNillable(boolean pNillable)

getNillable

public boolean getNillable()

setAbstract

public void setAbstract(boolean pAbstract)

getAbstract

public boolean getAbstract()

setFinal

public void setFinal(XsDerivationSet pFinal)

getFinal

public XsDerivationSet getFinal()

setBlock

public void setBlock(XsBlockSet pBlock)

getBlock

public XsBlockSet getBlock()

setForm

public void setForm(XsFormChoice pForm)

getForm

public XsFormChoice getForm()