Top Description Constructors Methods
com.ctc.wstx.dtd

public abstract Class ModelNode

extends Object
Class Inheritance
Known Direct Subclasses
com.ctc.wstx.dtd.OptionalModel, com.ctc.wstx.dtd.StarModel, com.ctc.wstx.dtd.TokenModel, com.ctc.wstx.dtd.ChoiceModel, com.ctc.wstx.dtd.ConcatModel
Imports
java.util.BitSet, .List

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

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
addFirstPos(BitSet firstPos)

public abstract void
addLastPos(BitSet firstPos)

public abstract void
calcFollowPos(BitSet[] followPosSets)

public abstract ModelNode
cloneModel()

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

public abstract void
public abstract boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ModelNodeback to summary
public ModelNode()

Method Detail

addFirstPosback to summary
public abstract void addFirstPos(BitSet firstPos)
addLastPosback to summary
public abstract void addLastPos(BitSet firstPos)
calcFollowPosback to summary
public abstract void calcFollowPos(BitSet[] followPosSets)
cloneModelback to summary
public abstract ModelNode cloneModel()

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

indexTokensback to summary
public abstract void indexTokens(List<TokenModel> tokens)
isNullableback to summary
public abstract boolean isNullable()