java.lang.Object | |
↳ | org.apache.xerces.impl.xs.models.XSDFACM |
DFAContentModel is the implementation of XSCMValidator that does all of the non-trivial element content validation. This class does the conversion from the regular expression to the DFA that it then uses in its validation algorithm.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.impl.xs.models.XSCMValidator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a DFA content model.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
check whether this content violates UPA constraint.
| |||||||||||
The method indicates the end of list of children
| |||||||||||
check whether the given state is one of the final states
| |||||||||||
one transition only
| |||||||||||
This methods to be called on entering a first element whose type
has this content model.
| |||||||||||
Check which elements are valid to appear at this point.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.impl.xs.models.XSCMValidator
|
Constructs a DFA content model.
syntaxTree | The syntax tree of the content model. |
---|---|
leafCount | The number of leaves. |
RuntimeException | Thrown if DFA can't be built. |
---|
check whether this content violates UPA constraint.
subGroupHandler | the substitution group handler |
---|
XMLSchemaException |
---|
The method indicates the end of list of children
state | Current state of the content model |
---|
check whether the given state is one of the final states
state | the state to check |
---|
one transition only
curElem | The current element's QName |
---|---|
state | stack to store the previous state |
subGroupHandler | the substitution group handler |
RuntimeException | thrown on error |
---|
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
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.
state | the current state |
---|