org.enhydra.apache.xerces.validators.common
Class CMNode

java.lang.Object
  |
  +--org.enhydra.apache.xerces.validators.common.CMNode
Direct Known Subclasses:
CMAny, CMBinOp, CMLeaf, CMUniOp

public abstract class CMNode
extends Object

Version:
 

Constructor Summary
(package private) CMNode(int type)
           
 
Method Summary
protected abstract  void calcFirstPos(CMStateSet toSet)
           
protected abstract  void calcLastPos(CMStateSet toSet)
           
(package private)  CMStateSet firstPos()
           
(package private) abstract  boolean isNullable()
           
(package private)  CMStateSet lastPos()
           
(package private)  void setFollowPos(CMStateSet setToAdopt)
           
(package private)  void setMaxStates(int maxStates)
           
(package private)  int type()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMNode

CMNode(int type)
 throws CMException
Method Detail

isNullable

abstract boolean isNullable()
                     throws CMException

type

final int type()

firstPos

final CMStateSet firstPos()
                   throws CMException

lastPos

final CMStateSet lastPos()
                  throws CMException

setFollowPos

final void setFollowPos(CMStateSet setToAdopt)

setMaxStates

final void setMaxStates(int maxStates)

calcFirstPos

protected abstract void calcFirstPos(CMStateSet toSet)
                              throws CMException

calcLastPos

protected abstract void calcLastPos(CMStateSet toSet)
                             throws CMException


Copyright © 1999 The Apache Software Foundation. All Rights reserved.