org.enhydra.apache.xerces.validators.common
Class CMLeaf
java.lang.Object
|
+--org.enhydra.apache.xerces.validators.common.CMNode
|
+--org.enhydra.apache.xerces.validators.common.CMLeaf
- public class CMLeaf
- extends CMNode
Content model leaf node.
- Version:
- $Id: CMLeaf.java,v 1.2 2005/01/26 08:28:44 jkjome Exp $
Constructor Summary |
CMLeaf(QName element)
Constructs a content model leaf. |
CMLeaf(QName element,
int position)
Constructs a content model leaf. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMLeaf
public CMLeaf(QName element,
int position)
throws CMException
- Constructs a content model leaf.
CMLeaf
public CMLeaf(QName element)
throws CMException
- Constructs a content model leaf.
getElement
final QName getElement()
getPosition
final int getPosition()
setPosition
final void setPosition(int newPosition)
isNullable
boolean isNullable()
throws CMException
- Overrides:
isNullable
in class CMNode
toString
String toString(StringPool stringPool)
calcFirstPos
protected void calcFirstPos(CMStateSet toSet)
throws CMException
- Overrides:
calcFirstPos
in class CMNode
calcLastPos
protected void calcLastPos(CMStateSet toSet)
throws CMException
- Overrides:
calcLastPos
in class CMNode
Copyright © 1999 The Apache Software Foundation. All Rights reserved.