Package com.ctc.wstx.dtd
Class ModelNode
java.lang.Object
com.ctc.wstx.dtd.ModelNode
- Direct Known Subclasses:
ChoiceModel
,ConcatModel
,OptionalModel
,StarModel
,TokenModel
Abstract base class for classes constructed from
ContentSpec
objects, when they get rewritten (when their ContentSpec.rewrite()
gets called). These nodes are then used for constructing complete DFA
states for validation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
addFirstPos
(BitSet firstPos) abstract void
addLastPos
(BitSet firstPos) abstract void
calcFollowPos
(BitSet[] followPosSets) abstract ModelNode
Method that has to create a deep copy of the model, without sharing any of existing Objects.abstract void
indexTokens
(List<TokenModel> tokens) abstract boolean
-
Constructor Details
-
ModelNode
public ModelNode()
-
-
Method Details
-
cloneModel
Method that has to create a deep copy of the model, without sharing any of existing Objects. -
isNullable
public abstract boolean isNullable() -
indexTokens
-
addFirstPos
-
addLastPos
-
calcFollowPos
-