org.apache.xerces.impl.dtd.models

Class CMNode

Known Direct Subclasses:
CMAny, CMBinOp, CMLeaf, CMUniOp, XSCMBinOp, XSCMLeaf, XSCMUniOp

public abstract class CMNode
extends java.lang.Object

A content model node.
Version:
$Id: CMNode.java 320090 2004-10-04 22:00:42Z mrglavas $

Constructor Summary

CMNode(int type)

Method Summary

protected abstract void
calcFirstPos(CMStateSet toSet)
protected abstract void
calcLastPos(CMStateSet toSet)
CMStateSet
firstPos()
abstract boolean
isNullable()
CMStateSet
lastPos()
void
setMaxStates(int maxStates)
int
type()

Constructor Details

CMNode

public CMNode(int type)

Method Details

calcFirstPos

protected abstract void calcFirstPos(CMStateSet toSet)

calcLastPos

protected abstract void calcLastPos(CMStateSet toSet)

firstPos

public final CMStateSet firstPos()

isNullable

public abstract boolean isNullable()

lastPos

public final CMStateSet lastPos()

setMaxStates

public final void setMaxStates(int maxStates)

type

public final int type()

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.