Class 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 Detail

      • 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 Detail

      • 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 java.lang.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