| Modifier and Type | Field and Description |
|---|---|
| private final XSElementDecl[] | |
| private final boolean | |
| private final boolean[] | |
| private int | |
| private static final short | |
| private static final short | |
| private static final short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | Returns: true if this content model contains other or list wildcardthe substitution group handler subGroupHandler)Implements org. |
| public boolean | Returns: true if the last state was a valid final stateCurrent state of the content model currentState)Implements org. |
| pack-priv Object | |
| public String | getTermName(int
identifier for the element declaration or wildcard termId)Implements org. |
| public boolean | isCompactedForUPA()
Implements org. |
| public int[] | occurenceInfo(int[]
the current state state)Implements org. Returns an array containing information about the current repeating term
or |
| public Object | Returns: an element decl objectCurrent state currentState, SubstitutionGroupHandler subGroupHandler)Implements org. |
| public int[] | Returns: Start state of the content modelImplements org. |
| public Vector | Returns: a Vector whose entries are instances of either XSWildcardDecl or XSElementDecl.the current state state)Implements org. |
| fAllElements | back to summary |
|---|---|
| private final XSElementDecl[] fAllElements | |
| fHasOptionalContent | back to summary |
|---|---|
| private final boolean fHasOptionalContent | |
| fIsOptionalElement | back to summary |
|---|---|
| private final boolean[] fIsOptionalElement | |
| fNumElements | back to summary |
|---|---|
| private int fNumElements | |
| STATE_CHILD | back to summary |
|---|---|
| private static final short STATE_CHILD | |
| STATE_START | back to summary |
|---|---|
| private static final short STATE_START | |
| STATE_VALID | back to summary |
|---|---|
| private static final short STATE_VALID | |
| XSAllCM | back to summary |
|---|---|
| public XSAllCM(boolean hasOptionalContent, int size) | |
| addElement | back to summary |
|---|---|
| public void addElement(XSElementDecl element, boolean isOptional) | |
| checkUniqueParticleAttribution | back to summary |
|---|---|
| public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException Implements org. check whether this content violates UPA constraint.
| |
| endContentModel | back to summary |
|---|---|
| public boolean endContentModel(int[] currentState) Implements org. The method indicates the end of list of children
| |
| findMatchingDecl | back to summary |
|---|---|
| pack-priv Object findMatchingDecl(QName elementName, SubstitutionGroupHandler subGroupHandler) | |
| getTermName | back to summary |
|---|---|
| public String getTermName(int termId) Implements org. Doc from org. Returns the name of the term (element or wildcard) for the given identifier.
| |
| isCompactedForUPA | back to summary |
|---|---|
| public boolean isCompactedForUPA() Implements org. Doc from org. Checks if this content model has had its min/maxOccurs values reduced for purposes of speeding up UPA. If so, this content model should not be used for any purpose other than checking unique particle attribution
| |
| occurenceInfo | back to summary |
|---|---|
| public int[] occurenceInfo(int[] state) Implements org. Doc from org. Returns an array containing information about the current repeating term
or If an array is returned it will have a length == 4 and will contain:
| |
| oneTransition | back to summary |
|---|---|
| public Object oneTransition(QName elementName, int[] currentState, SubstitutionGroupHandler subGroupHandler) Implements org. The method corresponds to one transition in the content model.
| |
| startContentModel | back to summary |
|---|---|
| public int[] startContentModel() Implements org. This methods to be called on entering a first element whose type has this content model. It will return the initial state of the content model
| |
| whatCanGoHere | back to summary |
|---|---|
| public Vector Implements org. Check which elements are valid to appear at this point. This method also works if the state is in error, in which case it returns what should have been seen.
| |