|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.fsa.CountingState
public class CountingState
A counting state is a dynamic object representing the combination of an AutomatonState and a counter value
Constructor Summary | |
---|---|
CountingState(AutomatonState as,
int startFrom)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Iterator<Edge> |
getEdges()
Get an iterator over all the transitions (edges) allowed from this state |
Edge |
getTransition(int token,
Configuration config)
Find the edge representing the transition from this state to another state, that is triggered by a given input token |
AutomatonState |
getUnderlyingState()
|
Edge[] |
getWildcardEdges()
Get an iterator over the wildcard transitions (edges) allowed from this state. |
State |
incrementCounter()
|
boolean |
isFinalState()
|
CharSequence |
listAllowedElements()
|
void |
testMinimumReached()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountingState(AutomatonState as, int startFrom)
Method Detail |
---|
public State incrementCounter() throws ValidationException
ValidationException
public void testMinimumReached() throws ValidationException
ValidationException
public Edge getTransition(int token, Configuration config)
State
getTransition
in interface State
token
- the input token, specifically the fingerprint of an element nameconfig
- the Saxon configuration
public boolean isFinalState()
isFinalState
in interface State
public AutomatonState getUnderlyingState()
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.public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |