com.sun.tools.txw2
Class TxwOptions

java.lang.Object
  extended by com.sun.tools.txw2.TxwOptions

public class TxwOptions
extends Object

Controls the various aspects of the TXW generation. But this doesn't contain options for the command-line interface nor any of the driver-level configuration (such as where to place the generated source code, etc.)

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Field Summary
 com.sun.codemodel.JPackage _package
          The package to put the generated code into.
 boolean chainMethod
          If true, generate attribute/value methods that returns the this object for chaining.
 com.sun.codemodel.JCodeModel codeModel
           
 ErrorListener errorListener
          Always non-null.
 boolean noPackageNamespace
          If true, the generated code will not use the package-level XmlNamespace annotation.
 
Constructor Summary
TxwOptions()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

codeModel

public final com.sun.codemodel.JCodeModel codeModel

_package

public com.sun.codemodel.JPackage _package
The package to put the generated code into.


errorListener

public ErrorListener errorListener
Always non-null.


chainMethod

public boolean chainMethod
If true, generate attribute/value methods that returns the this object for chaining.


noPackageNamespace

public boolean noPackageNamespace
If true, the generated code will not use the package-level XmlNamespace annotation.

Constructor Detail

TxwOptions

public TxwOptions()


Copyright © 2013 Oracle. All Rights Reserved.