| Modifier and Type | Field and Description |
|---|---|
static short |
FIRST_ERROR |
static short |
SUBSEQUENT_ERROR |
| Modifier and Type | Method and Description |
|---|---|
ArrayList |
checkMinMaxBounds()
Used by constant space algorithm for a{n,m} for n > 1 and
m <= unbounded.
|
boolean |
checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler)
check whether this content violates UPA constraint.
|
boolean |
endContentModel(int[] state)
The method indicates the end of list of children
|
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.
|
Vector |
whatCanGoHere(int[] state)
Check which elements are valid to appear at this point.
|
static final short FIRST_ERROR
static final short SUBSEQUENT_ERROR
int[] startContentModel()
Object oneTransition(QName elementName, int[] state, SubstitutionGroupHandler subGroupHandler)
elementName - state - Current stateboolean endContentModel(int[] state)
state - Current state of the content modelboolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException
subGroupHandler - the substitution group handlerXMLSchemaExceptionVector whatCanGoHere(int[] state)
state - the current stateArrayList checkMinMaxBounds()
null if validation of bounds is
successful. Returns a list of strings with error info
if not. Even entries in list returned are error codes
(used to look up properties) and odd entries are parameters
to be passed when formatting error message. Each parameter
is associated with the error code that preceeds it in
the list.Copyright © 2018–2021 mhoffrogge. All rights reserved.