Java Code Generation

 

The Java Code Generation wizard is available only in Stylus Studio XML Enterprise Suite.

You use the Java Code Generation dialog box to specify the package and class names and other options for generating Java code from XQuery and XSLT.

Fields

Target directory

The directory to which you want to write the generated code. You can

  • Use the default - the Windows Application Directory ( C:\Documents and Settings\dfoster\My Documents\Stylus Studio\sources, for example). The \Stylus Studio folder is created when you install Stylus Studio; the \sources folder is created for the generated code.
  • Type a directory path by hand.
  • Use the browse button ( ) to select a file system directory.

Package name

The name you want to use for the Java package generated from the XQuery or XSLT. Left blank by default.

Class name

The name you want to use for the Java class generated from the XQuery or XSLT. By default, this is the name of the XQuery or XSLT document for which you are generating Java code.

Add generated code to the current 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.

Embed the XQuery source in the generated program

Whether or not you want to embed the XQuery source in the generated Java code.

For More Information

Generating Java Code for XQuery

Generating Java Code for XSLT

Publishing & Printing

It is really hard to get things to look pretty, especially XML. That's why these publishing & printing companies use Stylus Studio to make a Mona Lisa out of data integration. Check out these top companies that are "stunning" with Stylus Studio!

XQuery Debugger

The Stylus Studio XQuery Debugger allows you to set breakpoints and step through the evaluation of any XQuery expression in a way that gives you complete control and visibility into the XQuery expression evaluation process.

Oil, Gas & Electric Companies That Use Stylus Studio

Oil, gas & electric companies know a good resource when they see it. That's why they use Stylus Studio as their #1 XML resource. Come see which of these top oil, gas & electric companies are conserving their time and labor with Stylus Studio.

The Stylus Studio Advantage

Read in their own words, why customers have decided to make the switch to Stylus Studio, the World's best XML editor.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member