|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.schema.codegen.Item
org.jibx.schema.codegen.ReferenceItem
public class ReferenceItem
Information for a reference to a global definition. The reference may be replaced with an inlined copy of the definition during code generation.
| Field Summary | |
|---|---|
private DefinitionItem |
m_definition
Referenced type structure definition. |
private static Logger |
s_logger
Logger for class. |
| Fields inherited from class org.jibx.schema.codegen.Item |
|---|
m_last, m_next |
| Constructor Summary | |
|---|---|
(package private) |
ReferenceItem(AnnotatedBase comp,
GroupItem parent,
DefinitionItem def)
Internal constructor for direct reference. |
(package private) |
ReferenceItem(GroupItem group,
DefinitionItem def)
Internal constructor for converting group to reference. |
private |
ReferenceItem(ReferenceItem original,
Item ref,
GroupItem parent)
Copy constructor. |
| Method Summary | |
|---|---|
protected void |
classifyContent()
Classify the content of this item as attribute, element, and/or character data content, and as requiring content of some form if appropriate. |
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 reference. |
DefinitionItem |
getDefinition()
Get the referenced structure. |
Item |
inlineReference()
Inline the referenced structure. |
| Methods inherited from class org.jibx.schema.codegen.Item |
|---|
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 |
| Field Detail |
|---|
private static final Logger s_logger
private final DefinitionItem m_definition
| Constructor Detail |
|---|
private ReferenceItem(ReferenceItem original,
Item ref,
GroupItem parent)
original - ref - reference (for overrides to copy; null if none)parent -
ReferenceItem(AnnotatedBase comp,
GroupItem parent,
DefinitionItem def)
comp - schema componentparent - containing structure (null if a top-level structure)def - referenced definition
ReferenceItem(GroupItem group,
DefinitionItem def)
group - def - | Method Detail |
|---|
public DefinitionItem getDefinition()
public Item inlineReference()
protected Item copy(Item ref,
GroupItem parent)
copy in class Itemref - reference (for overrides to copy; null if none)parent -
protected void classifyContent()
classifyContent in class Item
protected java.lang.String describe(int depth,
boolean classified)
describe in class Itemdepth - current nesting depthclassified - include classification details flag
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||