| Package | Description |
|---|---|
| com.sun.codemodel |
Library for generating Java source code
|
| com.sun.codemodel.writer | |
| com.sun.tools.xjc |
Schema to Java compiler
|
| com.sun.tools.xjc.api.util |
Utility code shared between JAXB and JAX-WS
|
| Modifier and Type | Method and Description |
|---|---|
void |
JCodeModel.build(CodeWriter out)
A convenience method for
build(out,out). |
void |
JCodeModel.build(CodeWriter source,
CodeWriter resource)
Generates Java source code.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileCodeWriter
Writes all the source files under the specified file folder.
|
class |
FilterCodeWriter
CodeWriter that delegates to another CodeWriter. |
class |
OutputStreamCodeWriter |
class |
ProgressCodeWriter
Filter CodeWriter that writes a progress message to the specified
PrintStream.
|
class |
PrologCodeWriter
Writes all the source files under the specified file folder and
inserts a file prolog comment in each java source file.
|
class |
SingleStreamCodeWriter
Output all source files into a single stream with a little
formatting header in front of each file.
|
class |
ZipCodeWriter
Writes all the files into a zip file.
|
| Modifier and Type | Field and Description |
|---|---|
protected CodeWriter |
FilterCodeWriter.core |
| Constructor and Description |
|---|
FilterCodeWriter(CodeWriter core) |
ProgressCodeWriter(CodeWriter output,
PrintStream progress) |
PrologCodeWriter(CodeWriter core,
String prolog) |
| Modifier and Type | Method and Description |
|---|---|
CodeWriter |
Options.createCodeWriter()
Creates a configured CodeWriter that produces files into the specified directory.
|
CodeWriter |
Options.createCodeWriter(CodeWriter core)
Creates a configured CodeWriter that produces files into the specified directory.
|
| Modifier and Type | Method and Description |
|---|---|
CodeWriter |
Options.createCodeWriter(CodeWriter core)
Creates a configured CodeWriter that produces files into the specified directory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FilerCodeWriter
CodeWriter that generates source code to Filer. |
Copyright © 2017 JBoss by Red Hat. All rights reserved.