Package com.saxonica.ee.schema.fsa
Class NonDeterminizedState
java.lang.Object
com.saxonica.ee.schema.fsa.AutomatonState
com.saxonica.ee.schema.fsa.NonDeterminizedState
- All Implemented Interfaces:
State
A state in the non-determinized finite state machine
-
Field Summary
Fields inherited from class com.saxonica.ee.schema.fsa.AutomatonState
EMPTY_EDGE_ARRAY, wildcardEdges
-
Constructor Summary
ConstructorsConstructorDescriptionNonDeterminizedState
(FiniteStateMachine machine) Create a new state in a non-determinized finite state machine -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLambdaTransition
(AutomatonState newState) Add a lambda transition from this state to another state.void
Display the lambda transitions available from this stateGet the lambda transitions from this stateMethods inherited from class com.saxonica.ee.schema.fsa.AutomatonState
addSpecificTransition, addWildcardTransition, display, displayState, getEdges, getMaxTransition, getStateNumber, getTransition, getWildcardEdges, isConditionallyFinalState, isFinalState, listAllowedElements, requiresCounter, serialize, setFinalState, setLimits, setMaxTransition
-
Constructor Details
-
NonDeterminizedState
Create a new state in a non-determinized finite state machine- Parameters:
machine
- the finite state machine to which this state belongs
-
-
Method Details
-
addLambdaTransition
Add a lambda transition from this state to another state. This is a transition that can take place when no symbol is read.- Parameters:
newState
- the state that results from this event
-
getLambdaTransitions
Get the lambda transitions from this state- Returns:
- the set of lambda transitions; a null return value is equivalent to an empty list
-
displayLambdaTransitions
public void displayLambdaTransitions()Description copied from class:AutomatonState
Display the lambda transitions available from this state- Overrides:
displayLambdaTransitions
in classAutomatonState
-