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 Details

    • LeafNode

      public LeafNode(Item item, ClassHolder.ParentNode parent)
      Constructor. This automatically links to the containing node.
      Parameters:
      item -
      parent -
  • Method Details

    • 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 String describe(int depth)
      Generate the node description.
      Specified by:
      describe in class ClassHolder.DataNode
      Parameters:
      depth - current nesting depth
      Returns:
      description