org.jibx.schema.codegen
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
|
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 |
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 extensionparent - containing structure (null if a top-level structure)
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 depthclassified - include classification details flag
- Returns:
- description