org.jibx.schema.codegen
Class ClassHolder.LeafNode

java.lang.Object
  extended by org.jibx.schema.codegen.ClassHolder.DataNode
      extended by org.jibx.schema.codegen.ClassHolder.LeafNode
Enclosing class:
ClassHolder

protected static class ClassHolder.LeafNode
extends ClassHolder.DataNode

Information for a leaf node of the data structure tree.


Constructor Summary
ClassHolder.LeafNode(Item item, ClassHolder.ParentNode parent)
          Constructor.
 
Method Summary
 java.lang.String describe(int depth)
          Generate the node description.
 boolean isInterior()
          Check if this is an interior node (always false).
 
Methods inherited from class org.jibx.schema.codegen.ClassHolder.DataNode
appendDocText, appendSelectConstText, getBindingType, getDocumentation, getFieldName, getFlagMethodName, getGetMethodName, getItem, getParent, getPropName, getQName, getReferenceQName, getSchemaComponent, getSelectConstName, getSelectPropName, getSetMethodName, getTestMethodName, getType, isAny, isCollection, isIgnored, isList, isNamed, isOptional, isReference, setDocumentation, setFieldName, setFlagMethodName, setGetMethodName, setPropName, setSelectConstName, setSelectPropName, setSetMethodName, setTestMethodName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassHolder.LeafNode

public ClassHolder.LeafNode(Item item,
                            ClassHolder.ParentNode parent)
Constructor. This automatically links to the containing node.

Parameters:
item -
parent -
Method Detail

isInterior

public boolean isInterior()
Check if this is an interior node (always false).

Specified by:
isInterior in class ClassHolder.DataNode
Returns:
false for value component

describe

public java.lang.String describe(int depth)
Generate the node description.

Specified by:
describe in class ClassHolder.DataNode
Parameters:
depth - current nesting depth
Returns:
description


Project Web Site