org.apache.xerces.impl.xs.models

Class XSCMLeaf


public class XSCMLeaf
extends CMNode

Content model leaf node.
Version:
$$
Author:
Neil Graham, IBM

Constructor Summary

XSCMLeaf(int type, Object leaf, int id, 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

XSCMLeaf

public XSCMLeaf(int type,
                Object leaf,
                int id,
                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.