|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.impl.xs.models.XSEmptyCM
public class XSEmptyCM
XSEmptyCM is a derivative of the abstract content model base class that handles a content model with no children (elements). This model validated on the way in.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xerces.impl.xs.models.XSCMValidator |
|---|
FIRST_ERROR, SUBSEQUENT_ERROR |
| Constructor Summary | |
|---|---|
XSEmptyCM()
|
|
| Method Summary | |
|---|---|
boolean |
checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler)
check whether this content violates UPA constraint. |
boolean |
endContentModel(int[] currentState)
The method indicates the end of list of children |
boolean |
isCompactedForUPA()
Checks if this content model has had its min/maxOccurs values reduced for purposes of speeding up UPA. |
java.lang.Object |
oneTransition(QName elementName,
int[] currentState,
SubstitutionGroupHandler subGroupHandler)
The method corresponds to one transaction in the content model. |
int[] |
startContentModel()
This methods to be called on entering a first element whose type has this content model. |
java.util.Vector |
whatCanGoHere(int[] state)
Check which elements are valid to appear at this point. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSEmptyCM()
| Method Detail |
|---|
public int[] startContentModel()
startContentModel in interface XSCMValidator
public java.lang.Object oneTransition(QName elementName,
int[] currentState,
SubstitutionGroupHandler subGroupHandler)
oneTransition in interface XSCMValidatorelementName - the qualified name of the elementcurrentState - Current statesubGroupHandler - the substitution group handler
public boolean endContentModel(int[] currentState)
endContentModel in interface XSCMValidatorcurrentState - Current state of the content model
public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler)
throws XMLSchemaException
checkUniqueParticleAttribution in interface XSCMValidatorsubGroupHandler - the substitution group handler
XMLSchemaExceptionpublic java.util.Vector whatCanGoHere(int[] state)
whatCanGoHere in interface XSCMValidatorstate - the current state
public boolean isCompactedForUPA()
XSCMValidator
isCompactedForUPA in interface XSCMValidator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||