Package com.saxonica.ee.schema.fsa
Class SuffixState
java.lang.Object
com.saxonica.ee.schema.fsa.SuffixState
- All Implemented Interfaces:
- State
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 SummaryModifier and TypeMethodDescriptiongetEdges()Get an iterator over all the transitions (edges) allowed from this statestatic SuffixStategetTransition(int token, UserComplexType type) Find the edge representing the transition from this state to another state, that is triggered by a given input tokenEdge[]Get all the wildcard transitions (edges) allowed from this state.booleanAsk whether this state is a valid final state, that is, no further transitions are needed to complete a successful path through the finite state machineConstruct a human-readable message explaining what elements are permitted as transitions from this state
- 
Method Details- 
getInstance
- 
getTransitionFind the edge representing the transition from this state to another state, that is triggered by a given input token- Specified by:
- getTransitionin interface- State
- Parameters:
- token- the input token, specifically the fingerprint of an element name
- type- the complex type we are validating against
- Returns:
- the Edge representing the selected transition of the finite state machine, or null if this token is not accepted when in this State (which implies a validation error).
 
- 
isFinalStatepublic boolean isFinalState()Description copied from interface:StateAsk whether this state is a valid final state, that is, no further transitions are needed to complete a successful path through the finite state machine- Specified by:
- isFinalStatein interface- State
- Returns:
- true if this is a valid final state
 
- 
listAllowedElementsDescription copied from interface:StateConstruct a human-readable message explaining what elements are permitted as transitions from this state- Specified by:
- listAllowedElementsin interface- State
- Returns:
- A message indicating what elements may come next
 
- 
getWildcardEdgesGet all the wildcard transitions (edges) allowed from this state.- Specified by:
- getWildcardEdgesin interface- State
- Returns:
- an array of the edges that represent element wildcards. The objects
         returned by this Iterator are Edgeobjects.
 
- 
getEdgesGet an iterator over all the transitions (edges) allowed from this state
 
-