Package org.apache.xerces.impl.xs
Class XSModelGroupImpl
java.lang.Object
org.apache.xerces.impl.xs.XSModelGroupImpl
- All Implemented Interfaces:
org.apache.xerces.xs.XSModelGroup,org.apache.xerces.xs.XSObject,org.apache.xerces.xs.XSTerm
Store schema model group declaration.
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: XSModelGroupImpl.java 699892 2008-09-28 21:08:27Z mrglavas $
- Author:
- Sandy Gao, IBM
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.apache.xerces.xs.XSObjectListshortintstatic final shortstatic final shortstatic final shortFields inherited from interface org.apache.xerces.xs.XSModelGroup
COMPOSITOR_ALL, COMPOSITOR_CHOICE, COMPOSITOR_SEQUENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xerces.xs.XSAnnotationOptional.org.apache.xerces.xs.XSObjectListOptional.short{compositor} One of all, choice or sequence.getName()Thenameof thisXSObjectdepending on theXSObjecttype.The namespace URI of this node, ornullif it is unspecified.org.apache.xerces.xs.XSNamespaceItemA namespace schema information item corresponding to the target namespace of the component, if it is globally declared; ornullotherwise.org.apache.xerces.xs.XSObjectList{particles} A list of particlesshortgetType()Get the type of the object, i.e ELEMENT_DECLARATION.booleanisEmpty()intint3.8.6 Effective Total Range (all and sequence) and Effective Total Range (choice) The following methods are used to return min/max range for a particle.voidreset()toString()
-
Field Details
-
MODELGROUP_CHOICE
public static final short MODELGROUP_CHOICE- See Also:
-
MODELGROUP_SEQUENCE
public static final short MODELGROUP_SEQUENCE- See Also:
-
MODELGROUP_ALL
public static final short MODELGROUP_ALL- See Also:
-
fCompositor
public short fCompositor -
fParticles
-
fParticleCount
public int fParticleCount -
fAnnotations
public org.apache.xerces.xs.XSObjectList fAnnotations
-
-
Constructor Details
-
XSModelGroupImpl
public XSModelGroupImpl()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
minEffectiveTotalRange
public int minEffectiveTotalRange()3.8.6 Effective Total Range (all and sequence) and Effective Total Range (choice) The following methods are used to return min/max range for a particle. They are not exactly the same as it's described in the spec, but all the values from the spec are retrievable by these methods. -
maxEffectiveTotalRange
public int maxEffectiveTotalRange() -
toString
-
reset
public void reset() -
getType
public short getType()Get the type of the object, i.e ELEMENT_DECLARATION.- Specified by:
getTypein interfaceorg.apache.xerces.xs.XSObject
-
getName
Thenameof thisXSObjectdepending on theXSObjecttype.- Specified by:
getNamein interfaceorg.apache.xerces.xs.XSObject
-
getNamespace
The namespace URI of this node, ornullif it is unspecified. defines how a namespace URI is attached to schema components.- Specified by:
getNamespacein interfaceorg.apache.xerces.xs.XSObject
-
getCompositor
public short getCompositor(){compositor} One of all, choice or sequence. The valid constants values are: ALL, CHOICE, SEQUENCE.- Specified by:
getCompositorin interfaceorg.apache.xerces.xs.XSModelGroup
-
getParticles
public org.apache.xerces.xs.XSObjectList getParticles(){particles} A list of particles- Specified by:
getParticlesin interfaceorg.apache.xerces.xs.XSModelGroup
-
getAnnotation
public org.apache.xerces.xs.XSAnnotation getAnnotation()Optional. Annotation.- Specified by:
getAnnotationin interfaceorg.apache.xerces.xs.XSModelGroup
-
getAnnotations
public org.apache.xerces.xs.XSObjectList getAnnotations()Optional. Annotations.- Specified by:
getAnnotationsin interfaceorg.apache.xerces.xs.XSModelGroup
-
getNamespaceItem
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()Description copied from interface:org.apache.xerces.xs.XSObjectA namespace schema information item corresponding to the target namespace of the component, if it is globally declared; ornullotherwise.- Specified by:
getNamespaceItemin interfaceorg.apache.xerces.xs.XSObject- See Also:
-