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
Information for a leaf node of the data structure tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe
(int depth) Generate the node description.boolean
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 Details
-
LeafNode
Constructor. This automatically links to the containing node.- Parameters:
item
-parent
-
-
-
Method Details
-
isInterior
public boolean isInterior()Check if this is an interior node (alwaysfalse
).- Specified by:
isInterior
in classClassHolder.DataNode
- Returns:
false
for value component
-
describe
Generate the node description.- Specified by:
describe
in classClassHolder.DataNode
- Parameters:
depth
- current nesting depth- Returns:
- description
-