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

XQuery Use Cases

Stylus Studio XQuery use-cases illustrate how users from different industries are putting the power, productivity, and ease of use of XQUery in their XML applications today!

FLWOR - An Introduction to the XQuery FLWOR Expression

An XQuery FLWOR Tutorial, covering an introduction to the main constructs of the XQuery FLWOR expression, including: For, Let, Where, Order By, and Return. Written by the W3C's Dr. Michael Kay.

Industry DTD Standards Support (OASIS)

Stylus Studio provides integrated support OASIS catalogs, including thousands of industry-standard DTDs like DocBook, FIXML, and more!

XML Editor

Stylus Studio XML editor includes many XML editing utilities and features to simplify XML development, including intuitive XML editing views, integrated XML validation and troubleshooting utilities, XML formatting tools, XML generation tools, etc.

Stylus Most Wanted

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.