APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.dtd.models

public Class CMAny

extends CMNode
Class Inheritance

Content model any node.

Field Summary

Modifier and TypeField and Description
private int
fPosition

Part of the algorithm to convert a regex directly to a DFA numbers each leaf sequentially.

private int
private String
fURI

URI of the any content model.

Constructor Summary

AccessConstructor and Description
public
CMAny(int type, String uri, int position)

Constructs a content model any.

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
pack-priv final int
pack-priv final int
pack-priv final String
public boolean
pack-priv final void
setPosition(int newPosition)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode:
firstPosgetUserDataisCompactedForUPAlastPossetFollowPossetIsCompactUPAModelsetMaxStatessetUserDatatype

Field Detail

fPositionback to summary
private int fPosition

Part of the algorithm to convert a regex directly to a DFA numbers each leaf sequentially. If its -1, that means its an epsilon node. Zero and greater are non-epsilon positions.

fTypeback to summary
private int fType

Hides com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode.fType.

The any content model type. This value is one of the following: XMLContentSpec.CONTENTSPECNODE_ANY, XMLContentSpec.CONTENTSPECNODE_ANY_OTHER, XMLContentSpec.CONTENTSPECNODE_ANY_LOCAL.

fURIback to summary
private String fURI

URI of the any content model. This value is set if the type is of the following: XMLContentSpec.CONTENTSPECNODE_ANY, XMLContentSpec.CONTENTSPECNODE_ANY_OTHER.

Constructor Detail

CMAnyback to summary
public CMAny(int type, String uri, int position)

Constructs a content model any.

Method Detail

calcFirstPosback to summary
protected void calcFirstPos(CMStateSet toSet)

Implements abstract com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode.calcFirstPos.

calcLastPosback to summary
protected void calcLastPos(CMStateSet toSet)

Implements abstract com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode.calcLastPos.

getPositionback to summary
pack-priv final int getPosition()
getTypeback to summary
pack-priv final int getType()
getURIback to summary
pack-priv final String getURI()
isNullableback to summary
public boolean isNullable()

Implements abstract com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode.isNullable.

setPositionback to summary
pack-priv final void setPosition(int newPosition)
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.