Package com.ctc.wstx.dtd
Class StarModel
- java.lang.Object
-
- com.ctc.wstx.dtd.ModelNode
-
- com.ctc.wstx.dtd.StarModel
-
public class StarModel extends ModelNode
Model class that represents any number of repetitions of its submodel (including no repetitions).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFirstPos(BitSet pos)voidaddLastPos(BitSet pos)voidcalcFollowPos(BitSet[] followPosSets)ModelNodecloneModel()Method that has to create a deep copy of the model, without sharing any of existing Objects.voidindexTokens(List<TokenModel> tokens)booleanisNullable()StringtoString()
-
-
-
Constructor Detail
-
StarModel
public StarModel(ModelNode model)
-
-
Method Detail
-
cloneModel
public ModelNode cloneModel()
Method that has to create a deep copy of the model, without sharing any of existing Objects.- Specified by:
cloneModelin classModelNode
-
isNullable
public boolean isNullable()
- Specified by:
isNullablein classModelNode
-
indexTokens
public void indexTokens(List<TokenModel> tokens)
- Specified by:
indexTokensin classModelNode
-
addFirstPos
public void addFirstPos(BitSet pos)
- Specified by:
addFirstPosin classModelNode
-
addLastPos
public void addLastPos(BitSet pos)
- Specified by:
addLastPosin classModelNode
-
calcFollowPos
public void calcFollowPos(BitSet[] followPosSets)
- Specified by:
calcFollowPosin classModelNode
-
-