class FactoryState extends java.lang.Object implements ClassInfoResolver
| Modifier and Type | Field and Description |
|---|---|
(package private) ClassInfo |
classInfo |
(package private) FieldInfo |
fieldInfoForChoice |
(package private) JClass |
jClass |
(package private) java.lang.String |
packageName |
| Modifier | Constructor and Description |
|---|---|
protected |
FactoryState(java.lang.String className,
SGStateInfo sgState,
java.lang.String packageName) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindReference(java.lang.Object key,
ClassInfo classInfoRef)
Adds the given Reference to this ClassInfo resolver.
|
(package private) FactoryState |
getParent()
Returns the parent of this FactoryState.
|
(package private) SGStateInfo |
getSGStateInfo()
Returns the SGStateInfo.
|
(package private) boolean |
hasBoundProperties()
Returns true if any bound properties have been found.
|
(package private) boolean |
isCreateGroupItem()
Returns true if we are currently in the state of creating a group item
class.
|
(package private) void |
markAsProcessed(Annotated annotated)
Marks the given Annotated XML Schema structure as having been processed.
|
(package private) boolean |
processed(Annotated annotated)
Returns true if the given Annotated XML Schema structure has been marked
as processed.
|
ClassInfo |
resolve(java.lang.Object key)
Returns the ClassInfo which has been bound to the given key
|
(package private) void |
setBoundProperties(boolean bound)
Allows setting the bound properties flag.
|
(package private) void |
setCreateGroupItem(boolean createGroupItem)
Sets to true if we are currently generating a class to represent items in
a group.
|
(package private) void |
setParent(FactoryState parent)
Sets the parent of this FactoryState
|
JClass jClass
ClassInfo classInfo
FieldInfo fieldInfoForChoice
java.lang.String packageName
protected FactoryState(java.lang.String className,
SGStateInfo sgState,
java.lang.String packageName)
public void bindReference(java.lang.Object key,
ClassInfo classInfoRef)
bindReference in interface ClassInfoResolverkey - the key to bind a reference toclassInfoRef - the ClassInfo which is being referencedSGStateInfo getSGStateInfo()
void markAsProcessed(Annotated annotated)
annotated - the Annotated XML Schema structure to mark as having been
processed.boolean processed(Annotated annotated)
annotated - the Annotated XML Schema structure to check for being marked
as processedboolean hasBoundProperties()
void setBoundProperties(boolean bound)
bound - the new value of the bound properties flaghasBoundProperties()public ClassInfo resolve(java.lang.Object key)
resolve in interface ClassInfoResolverkey - the object to which the ClassInfo has been boundboolean isCreateGroupItem()
void setCreateGroupItem(boolean createGroupItem)
createGroupItem - true if we are currently generating a class to represent items
in a group.FactoryState getParent()
void setParent(FactoryState parent)
parent - the parent FactoryStategetParent()Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com