Class TxwOptions


  • public class TxwOptions
    extends Object
    Controls the various aspects of the TXW generation.
    Author:
    Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
    • Field Detail

      • _package

        public 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.
      • language

        public TxwOptions.Language language
        Type of input schema language. One of the Language constants.
    • Constructor Detail

      • TxwOptions

        public TxwOptions()
    • Method Detail

      • printUsage

        public void printUsage()
      • getVersion

        public static String getVersion()
        Gets the version number of TXW.
        Returns:
        TXW version