Package org.jibx.schema.codegen
Class ClassHolder.LeafNode
- java.lang.Object
-
- org.jibx.schema.codegen.ClassHolder.DataNode
-
- 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
Constructors Constructor Description LeafNode(Item item, ClassHolder.ParentNode parent)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescribe(int depth)Generate the node description.booleanisInterior()Check if this is an interior node (alwaysfalse).-
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
-
-
-
-
Constructor Detail
-
LeafNode
public 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 (alwaysfalse).- Specified by:
isInteriorin classClassHolder.DataNode- Returns:
falsefor value component
-
describe
public java.lang.String describe(int depth)
Generate the node description.- Specified by:
describein classClassHolder.DataNode- Parameters:
depth- current nesting depth- Returns:
- description
-
-