org.apache.xerces.impl.dtd.models

Class CMLeaf

public class CMLeaf extends CMNode

Content model leaf node.

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Version: $Id: CMLeaf.java,v 1.5 2005/03/08 05:40:15 mrglavas Exp $

Constructor Summary
CMLeaf(QName element, int position)
Constructs a content model leaf.
CMLeaf(QName element)
Constructs a content model leaf.
Method Summary
protected voidcalcFirstPos(CMStateSet toSet)
protected voidcalcLastPos(CMStateSet toSet)
booleanisNullable()
StringtoString()

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

calcFirstPos

protected void calcFirstPos(CMStateSet toSet)

calcLastPos

protected void calcLastPos(CMStateSet toSet)

isNullable

public boolean isNullable()

toString

public String toString()
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.