Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.ws.jaxme.xs.xml.impl
Class XsTRestrictionTypeImpl  view XsTRestrictionTypeImpl download XsTRestrictionTypeImpl.java

java.lang.Object
  extended byorg.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended byorg.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended byorg.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended byorg.apache.ws.jaxme.xs.xml.impl.XsTRestrictionTypeImpl
All Implemented Interfaces:
org.apache.ws.jaxme.xs.xml.XsGAttrDecls, org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel, org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle, org.apache.ws.jaxme.xs.xml.XsObject, org.apache.ws.jaxme.xs.xml.XsTAnnotated, org.apache.ws.jaxme.xs.xml.XsTOpenAttrs, org.apache.ws.jaxme.xs.xml.XsTRestrictionType
Direct Known Subclasses:
XsTComplexRestrictionTypeImpl, XsTSimpleRestrictionTypeImpl

public class XsTRestrictionTypeImpl
extends XsTAnnotatedImpl
implements org.apache.ws.jaxme.xs.xml.XsTRestrictionType

Implementation of xs:restrictionType, as specified by the following:

  <xs:complexType name="restrictionType">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:sequence>
          <xs:choice>
            <xs:group ref="xs:typeDefParticle" minOccurs="0"/>
            <xs:group ref="xs:simpleRestrictionModel" minOccurs="0"/>
          </xs:choice>
          <xs:group ref="xs:attrDecls"/>
        </xs:sequence>
        <xs:attribute name="base" type="xs:QName" use="required"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 


Field Summary
private  org.apache.ws.jaxme.xs.xml.XsGAttrDecls attrDecls
           
private  org.apache.ws.jaxme.xs.xml.XsQName base
           
private  org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel simpleRestrictionModel
           
private  org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle typeDefParticle
           
 
Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
 
Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
 
Fields inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
 
Constructor Summary
protected XsTRestrictionTypeImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
           
 
Method Summary
 org.apache.ws.jaxme.xs.xml.XsTAll createAll()
           
 org.apache.ws.jaxme.xs.xml.XsTWildcard createAnyAttribute()
          Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTWildcard.
 org.apache.ws.jaxme.xs.xml.XsTAttribute createAttribute()
          Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTAttribute.
 org.apache.ws.jaxme.xs.xml.XsTAttributeGroupRef createAttributeGroup()
          Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTAttributeGroup.
 org.apache.ws.jaxme.xs.xml.XsEChoice createChoice()
           
 org.apache.ws.jaxme.xs.xml.XsEEnumeration createEnumeration()
           
 org.apache.ws.jaxme.xs.xml.XsEFractionDigits createFractionDigits()
           
 org.apache.ws.jaxme.xs.xml.XsTGroupRef createGroup()
           
 org.apache.ws.jaxme.xs.xml.XsELength createLength()
           
 org.apache.ws.jaxme.xs.xml.XsEMaxExclusive createMaxExclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMaxInclusive createMaxInclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMaxLength createMaxLength()
           
 org.apache.ws.jaxme.xs.xml.XsEMinExclusive createMinExclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMinInclusive createMinInclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMinLength createMinLength()
           
 org.apache.ws.jaxme.xs.xml.XsEPattern createPattern()
           
 org.apache.ws.jaxme.xs.xml.XsESequence createSequence()
           
 org.apache.ws.jaxme.xs.xml.XsTLocalSimpleType createSimpleType()
           
 org.apache.ws.jaxme.xs.xml.XsETotalDigits createTotalDigits()
           
 org.apache.ws.jaxme.xs.xml.XsEWhiteSpace createWhiteSpace()
           
 java.lang.Object[] getAllAttributes()
          Returns all objects created by createAttribute() 55 , createAttributeGroup() 55 , or createAnyAttribute() 55 , in the order of the corresponding method calls.
 org.apache.ws.jaxme.xs.xml.XsTWildcard getAnyAttribute()
          Returns the instance created by createAnyAttribute() 55 , or null, if the method wasn't called.
 org.apache.ws.jaxme.xs.xml.XsTAttributeGroupRef[] getAttributeGroups()
          Returns an array of all attribute groups created by createAttributeGroup() 55 ;
 org.apache.ws.jaxme.xs.xml.XsTAttribute[] getAttributes()
          Returns an array of all attributes created by createAttribute() 55 .
 org.apache.ws.jaxme.xs.xml.XsQName getBase()
           
 org.apache.ws.jaxme.xs.xml.XsEEnumeration[] getEnumerations()
           
 org.apache.ws.jaxme.xs.xml.XsTFacetBase[] getFacets()
          Returns an array of all facets.
 org.apache.ws.jaxme.xs.xml.XsEFractionDigits getFractionDigits()
           
 org.apache.ws.jaxme.xs.xml.XsELength getLength()
           
 org.apache.ws.jaxme.xs.xml.XsEMaxExclusive getMaxExclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMaxInclusive getMaxInclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMaxLength getMaxLength()
           
 org.apache.ws.jaxme.xs.xml.XsEMinExclusive getMinExclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMinInclusive getMinInclusive()
           
 org.apache.ws.jaxme.xs.xml.XsEMinLength getMinLength()
           
 org.apache.ws.jaxme.xs.xml.XsEPattern[] getPatterns()
           
 org.apache.ws.jaxme.xs.xml.XsTLocalSimpleType getSimpleType()
           
 org.apache.ws.jaxme.xs.xml.XsETotalDigits getTotalDigits()
           
 org.apache.ws.jaxme.xs.xml.XsTTypeDefParticle getTypeDefParticle()
           
 org.apache.ws.jaxme.xs.xml.XsEWhiteSpace getWhiteSpace()
           
 boolean hasFacets()
          Returns whether any facet has been defined.
 void setBase(java.lang.String pBase)
           
 void setBase(org.apache.ws.jaxme.xs.xml.XsQName pBase)
           
 void validate()
          Validates the internal state of the type, attribute, element, or whatever object.
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Field Detail

base

private org.apache.ws.jaxme.xs.xml.XsQName base

typeDefParticle

private final org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle typeDefParticle

simpleRestrictionModel

private final org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel simpleRestrictionModel

attrDecls

private final org.apache.ws.jaxme.xs.xml.XsGAttrDecls attrDecls
Constructor Detail

XsTRestrictionTypeImpl

protected XsTRestrictionTypeImpl(org.apache.ws.jaxme.xs.xml.XsObject pParent)
Method Detail

setBase

public void setBase(org.apache.ws.jaxme.xs.xml.XsQName pBase)
Specified by:
setBase in interface org.apache.ws.jaxme.xs.xml.XsTRestrictionType

setBase

public void setBase(java.lang.String pBase)
             throws org.xml.sax.SAXException

getBase

public org.apache.ws.jaxme.xs.xml.XsQName getBase()
Specified by:
getBase in interface org.apache.ws.jaxme.xs.xml.XsTRestrictionType

createGroup

public org.apache.ws.jaxme.xs.xml.XsTGroupRef createGroup()
Specified by:
createGroup in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle

createAll

public org.apache.ws.jaxme.xs.xml.XsTAll createAll()
Specified by:
createAll in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle

createSequence

public org.apache.ws.jaxme.xs.xml.XsESequence createSequence()
Specified by:
createSequence in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle

createChoice

public org.apache.ws.jaxme.xs.xml.XsEChoice createChoice()
Specified by:
createChoice in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle

getTypeDefParticle

public org.apache.ws.jaxme.xs.xml.XsTTypeDefParticle getTypeDefParticle()
Specified by:
getTypeDefParticle in interface org.apache.ws.jaxme.xs.xml.XsGTypeDefParticle

createSimpleType

public org.apache.ws.jaxme.xs.xml.XsTLocalSimpleType createSimpleType()
                                                               throws org.xml.sax.SAXException
Specified by:
createSimpleType in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getSimpleType

public org.apache.ws.jaxme.xs.xml.XsTLocalSimpleType getSimpleType()
Specified by:
getSimpleType in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createMinExclusive

public org.apache.ws.jaxme.xs.xml.XsEMinExclusive createMinExclusive()
                                                              throws org.xml.sax.SAXException
Specified by:
createMinExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getMinExclusive

public org.apache.ws.jaxme.xs.xml.XsEMinExclusive getMinExclusive()
Specified by:
getMinExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createMinInclusive

public org.apache.ws.jaxme.xs.xml.XsEMinInclusive createMinInclusive()
                                                              throws org.xml.sax.SAXException
Specified by:
createMinInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getMinInclusive

public org.apache.ws.jaxme.xs.xml.XsEMinInclusive getMinInclusive()
Specified by:
getMinInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createMaxExclusive

public org.apache.ws.jaxme.xs.xml.XsEMaxExclusive createMaxExclusive()
                                                              throws org.xml.sax.SAXException
Specified by:
createMaxExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getMaxExclusive

public org.apache.ws.jaxme.xs.xml.XsEMaxExclusive getMaxExclusive()
Specified by:
getMaxExclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createMaxInclusive

public org.apache.ws.jaxme.xs.xml.XsEMaxInclusive createMaxInclusive()
                                                              throws org.xml.sax.SAXException
Specified by:
createMaxInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getMaxInclusive

public org.apache.ws.jaxme.xs.xml.XsEMaxInclusive getMaxInclusive()
Specified by:
getMaxInclusive in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createTotalDigits

public org.apache.ws.jaxme.xs.xml.XsETotalDigits createTotalDigits()
                                                            throws org.xml.sax.SAXException
Specified by:
createTotalDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getTotalDigits

public org.apache.ws.jaxme.xs.xml.XsETotalDigits getTotalDigits()
Specified by:
getTotalDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createFractionDigits

public org.apache.ws.jaxme.xs.xml.XsEFractionDigits createFractionDigits()
                                                                  throws org.xml.sax.SAXException
Specified by:
createFractionDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getFractionDigits

public org.apache.ws.jaxme.xs.xml.XsEFractionDigits getFractionDigits()
Specified by:
getFractionDigits in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createLength

public org.apache.ws.jaxme.xs.xml.XsELength createLength()
                                                  throws org.xml.sax.SAXException
Specified by:
createLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getLength

public org.apache.ws.jaxme.xs.xml.XsELength getLength()
Specified by:
getLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createMinLength

public org.apache.ws.jaxme.xs.xml.XsEMinLength createMinLength()
                                                        throws org.xml.sax.SAXException
Specified by:
createMinLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getMinLength

public org.apache.ws.jaxme.xs.xml.XsEMinLength getMinLength()
Specified by:
getMinLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createMaxLength

public org.apache.ws.jaxme.xs.xml.XsEMaxLength createMaxLength()
                                                        throws org.xml.sax.SAXException
Specified by:
createMaxLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getMaxLength

public org.apache.ws.jaxme.xs.xml.XsEMaxLength getMaxLength()
Specified by:
getMaxLength in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createWhiteSpace

public org.apache.ws.jaxme.xs.xml.XsEWhiteSpace createWhiteSpace()
                                                          throws org.xml.sax.SAXException
Specified by:
createWhiteSpace in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getWhiteSpace

public org.apache.ws.jaxme.xs.xml.XsEWhiteSpace getWhiteSpace()
Specified by:
getWhiteSpace in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createPattern

public org.apache.ws.jaxme.xs.xml.XsEPattern createPattern()
                                                    throws org.xml.sax.SAXException
Specified by:
createPattern in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getPatterns

public org.apache.ws.jaxme.xs.xml.XsEPattern[] getPatterns()
Specified by:
getPatterns in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createEnumeration

public org.apache.ws.jaxme.xs.xml.XsEEnumeration createEnumeration()
                                                            throws org.xml.sax.SAXException
Specified by:
createEnumeration in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getEnumerations

public org.apache.ws.jaxme.xs.xml.XsEEnumeration[] getEnumerations()
Specified by:
getEnumerations in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

hasFacets

public boolean hasFacets()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

Returns whether any facet has been defined.

Specified by:
hasFacets in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

getFacets

public org.apache.ws.jaxme.xs.xml.XsTFacetBase[] getFacets()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

Returns an array of all facets.

Specified by:
getFacets in interface org.apache.ws.jaxme.xs.xml.XsGSimpleRestrictionModel

createAttribute

public org.apache.ws.jaxme.xs.xml.XsTAttribute createAttribute()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTAttribute.

Specified by:
createAttribute in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

getAttributes

public org.apache.ws.jaxme.xs.xml.XsTAttribute[] getAttributes()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Returns an array of all attributes created by XsGAttrDecls.createAttribute()>XsGAttrDecls.createAttribute() 55 .

Specified by:
getAttributes in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

createAttributeGroup

public org.apache.ws.jaxme.xs.xml.XsTAttributeGroupRef createAttributeGroup()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTAttributeGroup.

Specified by:
createAttributeGroup in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

getAttributeGroups

public org.apache.ws.jaxme.xs.xml.XsTAttributeGroupRef[] getAttributeGroups()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Returns an array of all attribute groups created by XsGAttrDecls.createAttributeGroup()>XsGAttrDecls.createAttributeGroup() 55 ;

Specified by:
getAttributeGroups in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

createAnyAttribute

public org.apache.ws.jaxme.xs.xml.XsTWildcard createAnyAttribute()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Creates a new instance of org.apache.ws.jaxme.xs.xml.XsTWildcard.

Specified by:
createAnyAttribute in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

getAnyAttribute

public org.apache.ws.jaxme.xs.xml.XsTWildcard getAnyAttribute()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Returns the instance created by XsGAttrDecls.createAnyAttribute()>XsGAttrDecls.createAnyAttribute() 55 , or null, if the method wasn't called.

Specified by:
getAnyAttribute in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

getAllAttributes

public java.lang.Object[] getAllAttributes()
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsGAttrDecls

Returns all objects created by XsGAttrDecls.createAttribute()>XsGAttrDecls.createAttribute() 55 , XsGAttrDecls.createAttributeGroup()>XsGAttrDecls.createAttributeGroup() 55 , or XsGAttrDecls.createAnyAttribute()>XsGAttrDecls.createAnyAttribute() 55 , in the order of the corresponding method calls.

Specified by:
getAllAttributes in interface org.apache.ws.jaxme.xs.xml.XsGAttrDecls

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: org.apache.ws.jaxme.xs.xml.XsObject
Validates the internal state of the type, attribute, element, or whatever object.

Specified by:
validate in interface org.apache.ws.jaxme.xs.xml.XsObject
Overrides:
validate in class XsObjectImpl