| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 |
| 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: element index corresponding to the element from the Schema grammarthe qualified name of the element elementName, int[] Current state currentState, SubstitutionGroupHandler the substitution group handler subGroupHandler)Implements com. The method corresponds to one transaction 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. |
| EMPTY | back to summary |
|---|---|
| private static final List<Object> EMPTY | |
| STATE_START | back to summary |
|---|---|
| private static final short STATE_START | |
| XSEmptyCM | back to summary |
|---|---|
| public XSEmptyCM() | |
| 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
| |
| 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 transaction 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. | |