org.apache.xerces.impl.dtd.models
Class CMLeaf

java.lang.Object
  extended by org.apache.xerces.impl.dtd.models.CMNode
      extended by org.apache.xerces.impl.dtd.models.CMLeaf

public class CMLeaf
extends CMNode

Content model leaf node.

Version:
$Id: CMLeaf.java 572057 2007-09-02 18:03:20Z mrglavas $

Constructor Summary
CMLeaf(QName element)
          Constructs a content model leaf.
CMLeaf(QName element, int position)
          Constructs a content model leaf.
 
Method Summary
 boolean isNullable()
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.xerces.impl.dtd.models.CMNode
firstPos, isCompactedForUPA, lastPos, setIsCompactUPAModel, setMaxStates, type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMLeaf

public CMLeaf(QName element,
              int position)
Constructs a content model leaf.


CMLeaf

public CMLeaf(QName element)
Constructs a content model leaf.

Method Detail

isNullable

public boolean isNullable()
Specified by:
isNullable in class CMNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object