Modifier and Type | Method and Description |
---|---|
java.util.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() |
java.lang.CharSequence |
listAllowedElements() |
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 againstpublic boolean isFinalState()
isFinalState
in interface State
public java.lang.CharSequence listAllowedElements()
listAllowedElements
in interface State
public Edge[] getWildcardEdges()
getWildcardEdges
in interface State
Edge
objects.Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.