org.apache.xerces.impl.dtd.models

Class CMLeaf


public class CMLeaf
extends CMNode

Content model leaf node.
Version:
$Id: CMLeaf.java 327940 2005-10-24 03:22:51Z mrglavas $

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-2006 The Apache Software Foundation. All Rights Reserved.