org.exolab.castor.builder
class FactoryState extends Object implements ClassInfoResolver
| Field Summary | |
|---|---|
| ClassInfo | classInfo |
| FieldInfo | fieldInfoForChoice |
| JClass | jClass |
| String | packageName |
| Constructor Summary | |
|---|---|
| protected | FactoryState(String className, SGStateInfo sgState, String packageName) |
| Method Summary | |
|---|---|
| void | bindReference(Object key, ClassInfo classInfoRef)
Adds the given Reference to this ClassInfo resolver.
|
| FactoryState | getParent()
Returns the parent of this FactoryState. |
| SGStateInfo | getSGStateInfo()
Returns the SGStateInfo.
|
| boolean | hasBoundProperties()
Returns true if any bound properties have been found.
|
| boolean | isCreateGroupItem()
Returns true if we are currently in the state of creating a group item
class.
|
| void | markAsProcessed(Annotated annotated)
Marks the given Annotated XML Schema structure as having been processed.
|
| boolean | processed(Annotated annotated)
Returns true if the given Annotated XML Schema structure has been marked
as processed.
|
| ClassInfo | resolve(Object key)
Returns the ClassInfo which has been bound to the given key
|
| void | setBoundProperties(boolean bound)
Allows setting the bound properties flag.
|
| void | setCreateGroupItem(boolean createGroupItem)
Sets to true if we are currently generating a class to represent items in
a group.
|
| void | setParent(FactoryState parent)
Sets the parent of this FactoryState
|
Parameters: key the key to bind a reference to classInfoRef the ClassInfo which is being referenced
Returns: the parent of this FactoryState.
Returns: the SGStateInfo.
Returns: true if any bound properties have been found.
Returns: true if we are currently in the state of creating a group item class.
Parameters: annotated the Annotated XML Schema structure to mark as having been processed.
Parameters: annotated the Annotated XML Schema structure to check for being marked as processed
Returns: true if the given Annotated XML Schema structure has been marked as processed
Parameters: key the object to which the ClassInfo has been bound
Returns: the ClassInfo which has been bound to the given key
Parameters: bound the new value of the bound properties flag
See Also: FactoryState
Parameters: createGroupItem true if we are currently generating a class to represent items in a group.
Parameters: parent the parent FactoryState
See Also: FactoryState