Generate Java Code for XML Pipeline

 

XML Pipeline is available only in Stylus Studio XML Enterprise Suite.

You use the Generate Java Code for XML Pipeline dialog box to specify the properties you want to use when generating Java code for your XML pipeline.

Fields

Target Directory

The target directory in which you want the Java code created. c:\temp\myPipelineJavaCode, for example. If the directory you name does not exist, Stylus Studio creates it when you run the Java Code Generation wizard. The default is . , which places the generated code in the same directory as the .pipeline file.

Package Name

Stylus Studio uses the package name to create a subfolder in the target directory you specify. If you specify myPackage as the package name, for example, the generated code is written to c:\temp\myPipelineJavaCode\myPackage. (Though optional, it is considered good practice to create a package name.)

Class Name

Stylus Studio uses the class name for the .java file created by the Java Code Generation wizard. For example, if you provide the name myClass, Stylus Studio creates c:\temp\myPipelineJavaCode\myPackage\myClass.java.

Add to Project

Whether or not you want to add the generated code to the current project. If you select this option (it is on by default), the package structure ( com.mycompany.payroll, for example) is used to create a series of project folders at the current project's root ( com\mycompany\payroll, for example). If you use the default package (none), the name .java file is added under the project's root.

Execution Log

Specifies the argument for the setExecutionLog method in the generated application. Choices are System.out (the default), System.err, and Quiet.

For More Information

Generating Code for an XML Pipeline

Processor Settings and Code Generation

Specifying an Execution Framework

Deployment Considerations

 
Free Stylus Studio XML Training:
W3C Member