de.ispsoft.jaxme.generator
Class JavaSourceWriter
java.lang.Object
  
de.ispsoft.jaxme.generator.ConfigurableImpl
      
de.ispsoft.jaxme.generator.SourceWriterImpl
          
de.ispsoft.jaxme.generator.JavaSourceWriter
- All Implemented Interfaces: 
 - Configurable, SourceWriter
 
- Direct Known Subclasses: 
 - JdbcJavaSourceWriter
 
- public class JavaSourceWriter
- extends SourceWriterImpl
  
This class generates the actual Java sources for the
 Java/XML binding.
- Author:
 
  - Jochen Wiedmann
 
 
 
| 
Constructor Summary | 
JavaSourceWriter()
 
          Creates a new instance of JavaSourceGenerator. | 
 
 
| Methods inherited from class de.ispsoft.jaxme.generator.SourceWriterImpl | 
getDirectory, getGenerator, getJavaPackage, getOption, getSchemaDate, newJavaSource, setDirectory, setGenerator, setJavaPackage, setSchemaDate, write, writeFile, writeJavaSourceFile | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
JavaSourceWriter
public JavaSourceWriter()
- Creates a new instance of JavaSourceGenerator.
 
getJavaClassWriter
protected JavaClassWriter getJavaClassWriter(SchemaElement pElement)
                                      throws SchemaException
Creates a JavaClassWriter for the given element.
- Throws:
 SchemaException
 
write
public void write(SchemaElement pElement)
           throws java.lang.Exception
Called for writing a single schema element.
- Specified by:
 write in interface SourceWriter- Specified by:
 write in class SourceWriterImpl
 
- Throws:
 java.lang.Exception
 
addAutoGenerationComment
public static JavaComment addAutoGenerationComment(java.lang.Object o,
                                                   java.lang.String pSystemId)
 
addAutoGenerationComment
protected JavaComment addAutoGenerationComment(java.lang.String pSystemId)