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: 1.1.1.1 $ $Date: 2003/03/03 07:08:52 $
Author:
Keith Visco

Constructor Summary

XSDCompiler()
Creates a new XSDCompiler Task.

Method Summary

void
execute()
Executes the task.
void
setDestdir(String dirName)
Set the destination directory into which the Java sources should be copied to
void
setForce(boolean force)
Set overwriting existing files.
void
setLineseperator(String lineSep)
Set the line separator.
void
setPackage(String pkgName)
Set the target package name.
void
setSchema(String schema)
Set the schema file name.
void
setTypefactory(String typeFactory)
Set the type factory.

Constructor Details

XSDCompiler

public XSDCompiler()
Creates a new XSDCompiler Task.

Method Details

execute

public void execute()
            throws BuildException
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-2003. All rights reserved http://www.intalio.com