|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSCMValidator
Note: State of the content model is stored in the validator
Field Summary | |
---|---|
static short |
FIRST_ERROR
|
static short |
SUBSEQUENT_ERROR
|
Method Summary | |
---|---|
boolean |
checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler)
check whether this content violates UPA constraint. |
boolean |
endContentModel(int[] state)
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[] state,
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. |
Field Detail |
---|
static final short FIRST_ERROR
static final short SUBSEQUENT_ERROR
Method Detail |
---|
int[] startContentModel()
java.lang.Object oneTransition(QName elementName, int[] state, SubstitutionGroupHandler subGroupHandler)
elementName
- state
- Current state
boolean endContentModel(int[] state)
state
- Current state of the content model
boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException
subGroupHandler
- the substitution group handler
XMLSchemaException
java.util.Vector whatCanGoHere(int[] state)
state
- the current state
boolean isCompactedForUPA()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |