org.apache.ws.jaxme.generator.impl
public class GeneratorImpl extends Object implements Generator
The Generator is reading an input schema. The schema is converted into a DOM tree. Finally one or more source writers are executed.
Constructor Summary | |
---|---|
GeneratorImpl() Creates a new GeneratorImpl |
Method Summary | |
---|---|
void | addBindings(InputSource pSource) |
SchemaSG | generate(InputSource pSource) |
SchemaSG | generate(File pFile) Opens the given file, calls the specified SchemaReaders () method and SourceWriters write() method. |
SchemaSG | generate(URL pURL) Opens the given URL, calls the specified SchemaReaders () method and SourceWriters write() method. |
Document[] | getBindings() |
EntityResolver | getEntityResolver() Returns the EntityResolver being used to import external schemata. |
String | getKey() |
String | getProperty(String pName) |
String | getProperty(String pName, String pDefault) |
File | getResourceTargetDirectory() |
SchemaReader | getSchemaReader() Returns the SchemaReader. |
File | getTargetDirectory() |
boolean | isForcingOverwrite() Returns whether the generator is forcing an overwrite of files. |
boolean | isSettingReadOnly() Returns whether the generator will create files in read-only mode. |
boolean | isValidating() |
void | setEntityResolver(EntityResolver pEntityResolver) Sets the EntityResolver being used to import external schemata. |
void | setForcingOverwrite(boolean pIsForcingOverwrite) Sets whether the generator is forcing an overwrite of files. |
void | setProperty(String pName, String pValue) |
void | setResourceTargetDirectory(File pDirectory) |
void | setSchemaReader(SchemaReader pReader) Sets the SchemaReader. |
void | setSettingReadOnly(boolean pIsSettingReadOnly) Sets whether the generator will create files in read-only mode. |
void | setTargetDirectory(File pDirectory) |
void | setValidating(boolean pIsValidating) |
Opens the given file, calls the specified SchemaReaders () method and SourceWriters write() method.
Opens the given URL, calls the specified SchemaReaders () method and SourceWriters write() method.
Returns the EntityResolver being used to import external schemata.
Returns the SchemaReader.
Returns whether the generator is forcing an overwrite of files.
Returns whether the generator will create files in read-only mode.
Sets the EntityResolver being used to import external schemata.
Sets whether the generator is forcing an overwrite of files.
Sets the SchemaReader.
Sets whether the generator will create files in read-only mode.