org.apache.xerces.impl.dtd.models

Class CMLeaf


public class CMLeaf
extends CMNode

Content model leaf node.

Version:
$Id: CMLeaf.java,v 1.2 2002/01/29 01:15:10 lehors Exp $

Constructor Summary

CMLeaf(org.apache.xerces.xni.QName element)
Constructs a content model leaf.
CMLeaf(org.apache.xerces.xni.QName element, int position)
Constructs a content model leaf.

Method Summary

protected void
calcFirstPos(CMStateSet toSet)
protected void
calcLastPos(CMStateSet toSet)
boolean
isNullable()
String
toString()

Methods inherited from class org.apache.xerces.impl.dtd.models.CMNode

calcFirstPos, calcLastPos, firstPos, isNullable, lastPos, setMaxStates, type

Constructor Details

CMLeaf

public CMLeaf(org.apache.xerces.xni.QName element)
Constructs a content model leaf.


CMLeaf

public CMLeaf(org.apache.xerces.xni.QName element,
              int position)
Constructs a content model leaf.

Method Details

calcFirstPos

protected void calcFirstPos(CMStateSet toSet)
Overrides:
calcFirstPos in interface CMNode


calcLastPos

protected void calcLastPos(CMStateSet toSet)
Overrides:
calcLastPos in interface CMNode


isNullable

public boolean isNullable()
Overrides:
isNullable in interface CMNode


toString

public String toString()


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.