|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.schema.fsa.SuffixState
public class SuffixState
The state of a finite state machine that is processing "suffix" open content. In this state no terms from the original content model are accepted.
Method Summary | |
---|---|
Iterator<Edge> |
getEdges()
Get an iterator over all the transitions (edges) allowed from this state |
static SuffixState |
getInstance()
|
Edge |
getTransition(int token,
UserComplexType type)
Find the edge representing the transition from this state to another state, that is triggered by a given input token |
Edge[] |
getWildcardEdges()
Get all the wildcard transitions (edges) allowed from this state. |
boolean |
isFinalState()
|
CharSequence |
listAllowedElements()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SuffixState getInstance()
public Edge getTransition(int token, UserComplexType type)
getTransition
in interface State
token
- the input token, specifically the fingerprint of an element nametype
- the complex type we are validating against
public boolean isFinalState()
isFinalState
in interface State
public CharSequence listAllowedElements()
listAllowedElements
in interface State
public Edge[] getWildcardEdges()
getWildcardEdges
in interface State
Edge
objects.public Iterator<Edge> getEdges()
getEdges
in interface State
Edge
objects.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |