org.exolab.castor.tools

Class XSDCompiler

public class XSDCompiler extends Task

A Task to process via XSLT a set of XML documents. This is useful for building views of XML based documentation. arguments: Of these arguments, the sourcedir and destdir are required.

This task will recursively scan the sourcedir and destdir looking for XML documents to process via XSLT. Any other files, such as images, or html files in the source directory will be copied into the destination directory.

Version: $Revision: 5951 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $

Author: Keith Visco

Constructor Summary
XSDCompiler()
Creates a new XSDCompiler Task.
Method Summary
voidexecute()
Executes the task.
voidsetDestdir(String dirName)
Set the destination directory into which the Java sources should be copied to
voidsetForce(boolean force)
Set overwriting existing files.
voidsetLineseperator(String lineSep)
Set the line separator.
voidsetPackage(String pkgName)
Set the target package name.
voidsetSchema(String schema)
Set the schema file name.
voidsetTypefactory(String typeFactory)
Set the type factory.

Constructor Detail

XSDCompiler

public XSDCompiler()
Creates a new XSDCompiler Task.

Method Detail

execute

public void execute()
Executes the task.

setDestdir

public void setDestdir(String dirName)
Set the destination directory into which the Java sources should be copied to

Parameters: dirName the name of the destination directory

setForce

public void setForce(boolean force)
Set overwriting existing files.

setLineseperator

public void setLineseperator(String lineSep)
Set the line separator.

setPackage

public void setPackage(String pkgName)
Set the target package name.

setSchema

public void setSchema(String schema)
Set the schema file name.

setTypefactory

public void setTypefactory(String typeFactory)
Set the type factory.
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com