Top Description Fields Constructors Methods
com.ctc.wstx.dtd

public final Class DFAState

extends Object
Class Inheritance
Imports
java.util.*, com.ctc.wstx.util.PrefixedName

Class that represents a state in DFA used for validating complex DTD content models.

Field Summary

Modifier and TypeField and Description
pack-priv final boolean
pack-priv final int
pack-priv HashMap<PrefixedName, DFAState>
pack-priv BitSet

Constructor Summary

AccessConstructor and Description
public
DFAState(int index, BitSet tokenSet)

Method Summary

Modifier and TypeMethod and Description
public void
calcNext(PrefixedName[] tokenNames, BitSet[] tokenFPs, List<DFAState> stateList, Map<BitSet, DFAState> stateMap)

public static DFAState
public DFAState
public int
public TreeSet<PrefixedName>
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

mAcceptingback to summary
pack-priv final boolean mAccepting
mIndexback to summary
pack-priv final int mIndex
mNextback to summary
pack-priv HashMap<PrefixedName, DFAState> mNext
mTokenSetback to summary
pack-priv BitSet mTokenSet

Constructor Detail

DFAStateback to summary
public DFAState(int index, BitSet tokenSet)

Method Detail

calcNextback to summary
public void calcNext(PrefixedName[] tokenNames, BitSet[] tokenFPs, List<DFAState> stateList, Map<BitSet, DFAState> stateMap)
constructDFAback to summary
public static DFAState constructDFA(ContentSpec rootSpec)
findNextback to summary
public DFAState findNext(PrefixedName elemName)
getIndexback to summary
public int getIndex()
getNextNamesback to summary
public TreeSet<PrefixedName> getNextNames()
isAcceptingStateback to summary
public boolean isAcceptingState()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override