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

public final Class TokenModel

extends ModelNode
Class Inheritance
Imports
java.util.BitSet, .List, com.ctc.wstx.util.PrefixedName

Model class that encapsulates a single (obligatory) token instance.

Field Summary

Modifier and TypeField and Description
pack-priv final PrefixedName
pack-priv int
pack-priv static final TokenModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
calcFollowPos(BitSet[] followPosSets)

Implements abstract com.ctc.wstx.dtd.ModelNode.calcFollowPos.

public ModelNode
cloneModel()

Implements abstract com.ctc.wstx.dtd.ModelNode.cloneModel.

Method that has to create a deep copy of the model, without sharing any of existing Objects.

public PrefixedName
public static TokenModel
public void
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

mElemNameback to summary
pack-priv final PrefixedName mElemName
mTokenIndexback to summary
pack-priv int mTokenIndex
NULL_TOKENback to summary
pack-priv static final TokenModel NULL_TOKEN

Constructor Detail

TokenModelback to summary
public TokenModel(PrefixedName elemName)

Method Detail

addFirstPosback to summary
public void addFirstPos(BitSet firstPos)

Implements abstract com.ctc.wstx.dtd.ModelNode.addFirstPos.

Annotations
@Override
addLastPosback to summary
public void addLastPos(BitSet lastPos)

Implements abstract com.ctc.wstx.dtd.ModelNode.addLastPos.

Annotations
@Override
calcFollowPosback to summary
public void calcFollowPos(BitSet[] followPosSets)

Implements abstract com.ctc.wstx.dtd.ModelNode.calcFollowPos.

Annotations
@Override
cloneModelback to summary
public ModelNode cloneModel()

Implements abstract com.ctc.wstx.dtd.ModelNode.cloneModel.

Method that has to create a deep copy of the model, without sharing any of existing Objects.

Annotations
@Override
getNameback to summary
public PrefixedName getName()
getNullTokenback to summary
public static TokenModel getNullToken()
indexTokensback to summary
public void indexTokens(List<TokenModel> tokens)

Implements abstract com.ctc.wstx.dtd.ModelNode.indexTokens.

Annotations
@Override
isNullableback to summary
public boolean isNullable()

Implements abstract com.ctc.wstx.dtd.ModelNode.isNullable.

Annotations
@Override
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