|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.builder.util.ClassInfoResolverImpl
org.exolab.castor.builder.SGStateInfo
A class for maintaining state for the SourceGenerator
| Field Summary | |
|---|---|
protected java.lang.String |
packageName
The package used when creating new classes. |
| Constructor Summary | |
|---|---|
protected |
SGStateInfo(Schema schema)
Creates a new SGStateInfo |
| Method Summary | |
|---|---|
(package private) FactoryState |
getCurrentFactoryState()
Returns the current FactoryState that holds information about the classes being generated. |
(package private) Dialog |
getDialog()
Returns the Dialog used for interacting with the user |
(package private) Schema |
getSchema()
|
(package private) boolean |
getSuppressNonFatalWarnings()
|
(package private) void |
markAsProcessed(JClass jClass)
Marks the given JClass as having been processed. |
(package private) boolean |
processed(JClass jClass)
Returns true if the given JClass has been marked as processed |
(package private) boolean |
promptForOverwrite()
|
(package private) void |
setCurrentFactoryState(FactoryState state)
Sets the current FactoryState. |
(package private) void |
setDialog(Dialog dialog)
Sets the Dialog used for interacting with the user |
(package private) void |
setPromptForOverwrite(boolean promptForOverwrite)
|
(package private) void |
setSuppressNonFatalWarnings(boolean suppressNonFatalWarnings)
|
(package private) void |
setVerbose(boolean verbose)
Sets whether or not the source code generator prints additional messages during generating source code |
(package private) boolean |
verbose()
Returns the value of the verbose flag. |
| Methods inherited from class org.exolab.castor.builder.util.ClassInfoResolverImpl |
|---|
bindReference, keys, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String packageName
| Constructor Detail |
protected SGStateInfo(Schema schema)
| Method Detail |
void markAsProcessed(JClass jClass)
jClass - the JClass to mark as having been processed.boolean processed(JClass jClass)
jClass - the JClass to check for being marked as processedboolean promptForOverwrite()
void setPromptForOverwrite(boolean promptForOverwrite)
Schema getSchema()
boolean getSuppressNonFatalWarnings()
void setSuppressNonFatalWarnings(boolean suppressNonFatalWarnings)
Dialog getDialog()
void setDialog(Dialog dialog)
dialog - the Dialog to usevoid setVerbose(boolean verbose)
verbose - a boolean, when true indicates to
print additional messagesboolean verbose()
FactoryState getCurrentFactoryState()
void setCurrentFactoryState(FactoryState state)
state - the current FactoryStategetCurrentFactoryState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||