org.exolab.castor.builder
class SGStateInfo extends ClassInfoResolverImpl
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:44 $
| Field Summary | |
|---|---|
| protected String | packageName
The package used when creating new classes.
|
| Constructor Summary | |
|---|---|
| protected | SGStateInfo(Schema schema)
Creates a new SGStateInfo
|
| Method Summary | |
|---|---|
| FactoryState | getCurrentFactoryState()
Returns the current FactoryState that
holds information about the classes being generated. |
| Dialog | getDialog()
Returns the Dialog used for interacting with the user
|
| Schema | getSchema() |
| boolean | getSuppressNonFatalWarnings() |
| void | markAsProcessed(JClass jClass)
Marks the given JClass as having been processed. |
| boolean | processed(JClass jClass)
Returns true if the given JClass has been marked as processed |
| boolean | promptForOverwrite() |
| void | setCurrentFactoryState(FactoryState state)
Sets the current FactoryState. |
| void | setDialog(Dialog dialog)
Sets the Dialog used for interacting with the user
|
| void | setPromptForOverwrite(boolean promptForOverwrite) |
| void | setSuppressNonFatalWarnings(boolean suppressNonFatalWarnings) |
| void | setVerbose(boolean verbose)
Sets whether or not the source code generator prints
additional messages during generating source code |
| boolean | verbose()
Returns the value of the verbose flag. |
Returns: the current FactoryState
Returns: the Dialog, or null if none has been set.
Parameters: jClass the JClass to mark as having been processed.
Parameters: jClass the JClass to check for being marked as processed
Parameters: state the current FactoryState
See Also: SGStateInfo
Parameters: dialog the Dialog to use
Parameters: verbose a boolean, when true indicates to print additional messages
Returns: the value of the verbose flag.