Class AnyItem

java.lang.Object
org.jibx.schema.codegen.Item
org.jibx.schema.codegen.AnyItem

public class AnyItem extends Item
Information for an xs:any item to be included in code generated from schema.
Author:
Dennis M. Sosnoski
  • Constructor Details

    • AnyItem

      private AnyItem(AnyItem original, Item ref, GroupItem parent)
      Copy constructor. This creates a copy with a new parent.
      Parameters:
      original -
      ref - reference (for overrides to copy; null if none)
      parent -
    • AnyItem

      AnyItem(AnnotatedBase comp, GroupItem parent)
      Constructor.
      Parameters:
      comp - schema component extension
      parent - containing structure (null if a top-level structure)
  • Method Details

    • copy

      protected Item copy(Item ref, GroupItem parent)
      Copy the item under a different parent.
      Specified by:
      copy in class Item
      Parameters:
      ref - reference (for overrides to copy; null if none)
      parent -
      Returns:
      copy
    • describe

      protected String describe(int depth, boolean classified)
      Build a description of the item.
      Specified by:
      describe in class Item
      Parameters:
      depth - current nesting depth
      classified - include classification details flag
      Returns:
      description