public class DefinitionItem extends GroupItem
| Constructor and Description |
|---|
DefinitionItem(AnnotatedBase comp)
Constructor for new top-level structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
classifyContent()
Classify the content of this item as attribute, element, and/or character data content.
|
void |
countReference()
Count a reference to this definition.
|
protected String |
describe()
Build a description of the definition, including all nested items.
|
protected String |
describe(int depth,
boolean classified)
Build a description of the item, including all nested items.
|
TypeData |
getGenerateClass()
Get information for class to be generated.
|
QName |
getQName()
Get qualified name for definition in binding.
|
int |
getReferenceCount()
Get the number of references to this definition.
|
boolean |
hasDirectGenerateClass()
Check if this definition has a class directly assigned for code generation.
|
boolean |
isChecked()
Check if definition has been processed.
|
boolean |
isInlineBlocked()
Check if inlining is blocked (due to non-singleton references).
|
boolean |
isPregenerated()
Check if definition has been pregenerated.
|
boolean |
isReferenced()
Check if definition has been referenced during inline checking.
|
boolean |
isTypeIsomorphic()
Check if this is a type-isomorphic element definition.
|
void |
setChecked(boolean checked)
Set definition has been processed flag.
|
void |
setInlineBlocked(boolean blocked)
Set inlining blocked flag.
|
void |
setReferenced(boolean refed)
Set definition has been referenced during inline checking flag.
|
void |
setTypeIsomorphic(boolean iso)
Set the type-isomorphic element definition flag.
|
addAny, addGroup, addReference, addValue, convertToDefinition, convertTypeReference, copy, forceAttributePresent, forceContentPresent, forceElementPresent, forceRequiredPresent, getChildCount, getClassName, getEffectiveClassName, getFirstChild, isAllOptional, isAttributePresent, isContentPresent, isElementPresent, isEnumeration, isExtensionReference, isFixedClassName, isInline, nestedString, setClassName, setEnumeration, setGenerateClass, setInlinefindDisjointParent, getComponentExtension, getEffectiveName, getName, getNext, getParent, getSchemaComponent, getTopmost, isCollection, isFixedName, isIgnored, isImplicit, isOptional, isTopmost, leadString, reparent, setImplicit, setNamepublic DefinitionItem(AnnotatedBase comp)
GroupItem.addGroup(AnnotatedBase) method.comp - schema componentpublic int getReferenceCount()
public void countReference()
public boolean isInlineBlocked()
public void setInlineBlocked(boolean blocked)
blocked - public boolean isChecked()
public void setChecked(boolean checked)
checked - public boolean isReferenced()
public void setReferenced(boolean refed)
refed - public boolean isTypeIsomorphic()
public void setTypeIsomorphic(boolean iso)
iso - type-isomorphic flagpublic boolean isPregenerated()
public boolean hasDirectGenerateClass()
true if class directly assigned, false if notpublic TypeData getGenerateClass()
getGenerateClass in class GroupItempublic QName getQName()
public void classifyContent()
classifyContent in class GroupItemprotected String describe(int depth, boolean classified)
protected String describe()
Copyright © 2005-2014 jibx.org. All Rights Reserved.