Package com.ctc.wstx.dtd
Class TokenModel
java.lang.Object
com.ctc.wstx.dtd.ModelNode
com.ctc.wstx.dtd.TokenModel
Model class that encapsulates a single (obligatory) token instance.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final PrefixedName
(package private) int
(package private) static final TokenModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFirstPos
(BitSet firstPos) void
addLastPos
(BitSet lastPos) void
calcFollowPos
(BitSet[] followPosSets) Method that has to create a deep copy of the model, without sharing any of existing Objects.getName()
static TokenModel
void
indexTokens
(List<TokenModel> tokens) boolean
toString()
-
Field Details
-
NULL_TOKEN
-
mElemName
-
mTokenIndex
int mTokenIndex
-
-
Constructor Details
-
TokenModel
-
-
Method Details
-
getNullToken
-
getName
-
cloneModel
Method that has to create a deep copy of the model, without sharing any of existing Objects.- Specified by:
cloneModel
in classModelNode
-
isNullable
public boolean isNullable()- Specified by:
isNullable
in classModelNode
-
indexTokens
- Specified by:
indexTokens
in classModelNode
-
addFirstPos
- Specified by:
addFirstPos
in classModelNode
-
addLastPos
- Specified by:
addLastPos
in classModelNode
-
calcFollowPos
- Specified by:
calcFollowPos
in classModelNode
-
toString
-