Contents | Package | Class | Tree | Deprecated | Index | Help | XML for Java
PREV | NEXT | SHOW LISTS | HIDE LISTS |

# Class com.ibm.xml.parser.CMLeaf

    java.lang.Object
        |
        +----com.ibm.xml.parser.CMNode
                |
                +----com.ibm.xml.parser.CMLeaf

public class CMLeaf
extends CMNode

CMLeaf provides content model support for content model nodes that are leaf node; in other words, nodes which do not have associated language primitives and are not model groups. Refer to ElementDecl for an overview of the content model, and how language primitives are used to express relationships.

Version:
  1.1
See Also:
  ElementDecl, CMNode, CM1op, CM2op

Constructor Summary
CMLeaf(java.lang.String name) Constructor.

Method Summary
java.lang.String | getName() Returns the name of the leaf content model node (e.g.
java.lang.String | toString() Returns the string representation of this leaf content model node.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

### CMLeaf

    public CMLeaf(java.lang.String name)

  Constructor.
  Parameters:
    `name` - The name of the leaf content model node (e.g. `#PCDATA` or `elementX`).

Method Detail

### getName

    public java.lang.String getName()

  Returns the name of the leaf content model node (e.g. `#PCDATA` or `elementX`).
  Returns:
    The name of the left content model node (should never be null).

### toString

    public java.lang.String toString()

  Returns the string representation of this leaf content model node. Example: `(elementX`)
  Returns:
    The string representation of this leaf content model node.
  Overrides:
    toString in class java.lang.Object

Contents | Package | Class | Tree | Deprecated | Index | Help |
PREV | NEXT | SHOW LISTS | HIDE LISTS |