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. Stylus Studio uses the XML pipeline name as the default class name.

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.

Inline Code

Whether or not you want to generate inline code. Inline code can be run anywhere, as-is. If you choose not to generate inline code, you must ensure that the XML Pipeline Java libraries, xmlpipeline. jar, is in your system's classpath.

For More Information

Generating Code for an XML Pipeline

Execution Framework and Code Generation

Specifying an Execution Framework

Deployment Considerations

XML Editing Views

Stylus Studio includes three synchronized XML editing views: Text View, Tree View, and Grid View, allowing you to work with and edit XML documents in whatever way suits you best.

Validating EDIFACT Documents with XML Schemas

Either before or after transforming EDIFACT content, generated XML Schemas will make sure that we have all of the necessary components, our codes are all according to the standard codelists, and every little delimiter is in the right place.

Electronic Data Interchange (EDI) Blog

The EDI-L Blog is the best technical forum for discussing topics related to Electronic Data Interchange (EDI), including EDIFACT, and X12 Technologies. Topics include EDI Software, EDI Standards, EDI applications, EDI examples, and more.

MSXML - Microsoft XML Tools

MSXML tools in Stylus Studio feature integrated XML validation, XSLT transformation and XSLT debugging using the Microsoft's COM-based XML processing components: MSXML 3.0, MSXML 4.0 and MSXML 6.0

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.