| Modifier and Type | Field and Description |
|---|---|
| private XSElementDecl[] | |
| private boolean | |
| private 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 List | checkMinMaxBounds()
Implements com. Used by constant space algorithm for a{n,m} for n > 1 and m <= unbounded. |
| public boolean | Returns: true if this content model contains other or list wildcardthe substitution group handler subGroupHandler)Implements com. check whether this content violates UPA constraint. |
| public boolean | Returns: true if the last state was a valid final stateCurrent state of the content model currentState)Implements com. The method indicates the end of list of children |
| pack-priv Object | |
| public String | getTermName(int termId)
Implements com. Returns the name of the term (element or wildcard) for the given identifier. |
| public boolean | isCompactedForUPA()
Implements com. Checks if this content model has had its min/maxOccurs values reduced for purposes of speeding up UPA. |
| public int[] | occurenceInfo(int[] state)
Implements com. Returns an array containing information about the current repeating term
or |
| public Object | Returns: an element decl objectCurrent state currentState, SubstitutionGroupHandler subGroupHandler)Implements com. The method corresponds to one transition in the content model. |
| public int[] | Returns: Start state of the content modelImplements com. This methods to be called on entering a first element whose type has this content model. |
| public List | Returns: a list whose entries are instances of either XSWildcardDecl or XSElementDecl.the current state state)Implements com. Check which elements are valid to appear at this point. |
| fAllElements | back to summary |
|---|---|
| private XSElementDecl[] fAllElements | |
| fHasOptionalContent | back to summary |
|---|---|
| private boolean fHasOptionalContent | |
| fIsOptionalElement | back to summary |
|---|---|
| private 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) | |
| checkMinMaxBounds | back to summary |
|---|---|
| public List Implements com. Doc from com. Used by constant space algorithm for a{n,m} for n > 1 and m <= unbounded. Called by a validator if validation of countent model succeeds after subsuming a{n,m} to a* (or a+) to check the n and m bounds. | |
| checkUniqueParticleAttribution | back to summary |
|---|---|
| public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException Implements com. check whether this content violates UPA constraint.
| |
| endContentModel | back to summary |
|---|---|
| public boolean endContentModel(int[] currentState) Implements com. 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 com. Doc from com. Returns the name of the term (element or wildcard) for the given identifier. | |
| isCompactedForUPA | back to summary |
|---|---|
| public boolean isCompactedForUPA() Implements com. Doc from com. 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 com. Doc from com. 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 com. The method corresponds to one transition in the content model.
| |
| startContentModel | back to summary |
|---|---|
| public int[] startContentModel() Implements com. 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 List Implements com. 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. | |