org.jibx.schema.codegen
Class AnyItem

java.lang.Object
  extended by org.jibx.schema.codegen.Item
      extended by 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

Field Summary
 
Fields inherited from class org.jibx.schema.codegen.Item
m_last, m_next
 
Constructor Summary
(package private) AnyItem(AnnotatedBase comp, GroupItem parent)
          Constructor.
private AnyItem(AnyItem original, Item ref, GroupItem parent)
          Copy constructor.
 
Method Summary
protected  Item copy(Item ref, GroupItem parent)
          Copy the item under a different parent.
protected  java.lang.String describe(int depth, boolean classified)
          Build a description of the item.
 
Methods inherited from class org.jibx.schema.codegen.Item
classifyContent, findDisjointParent, getComponentExtension, getEffectiveName, getName, getNext, getParent, getSchemaComponent, getTopmost, isCollection, isFixedName, isIgnored, isImplicit, isOptional, isTopmost, leadString, reparent, setImplicit, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Project Web Site