|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmContentFiniteStateMachine<A,S>
State-machine abstraction used for XML content model validation of a child axis.
Method Summary | |
---|---|
boolean |
end()
Steps the state machine upon completion of all elements. |
SmElement<A,S> |
getElement()
Returns an element declaration if an element is matched. |
SmWildcard<A,S> |
getWildcard()
Returns a wildcard if a wildcard is matched. |
boolean |
isElementMatch()
Determines whether the last step matched an element declaration. |
boolean |
isWildcardMatch()
Determines whether the last step matched a wildcard. |
boolean |
step(SmName<S> name)
Steps the state machine upon arrival of an element with the specified name. |
Method Detail |
---|
boolean end()
true
if no more elements are expected.SmElement<A,S> getElement()
SmWildcard<A,S> getWildcard()
boolean isElementMatch()
boolean isWildcardMatch()
boolean step(SmName<S> name)
name
- The name of the element.
true
if a transition exists for the element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |