org.exolab.castor.tools
Class XSDCompiler

java.lang.Object
  extended by Task
      extended by org.exolab.castor.tools.XSDCompiler

Deprecated. Please use CastorCodeGenTask instead.

public final class XSDCompiler
extends Task

Ant task that enables code generation from an XML _schema from within Ant.

Version:
$Revision: 6543 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
Author:
Keith Visco

Constructor Summary
XSDCompiler()
          Deprecated. Creates a new XSDCompiler Task.
 
Method Summary
 void execute()
          Deprecated. Executes the task.
 void setDestdir(java.lang.String dirName)
          Deprecated. Set the destination directory into which the Java sources should be copied to.
 void setForce(boolean force)
          Deprecated. Set overwriting existing files.
 void setLineseperator(java.lang.String lineSep)
          Deprecated. Set the line separator.
 void setPackage(java.lang.String pkgName)
          Deprecated. Set the target package name.
 void setSchema(java.lang.String schema)
          Deprecated. Set the schema file name.
 void setTypefactory(java.lang.String typeFactory)
          Deprecated. Set the type factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSDCompiler

public XSDCompiler()
Deprecated. 
Creates a new XSDCompiler Task.

Method Detail

execute

public void execute()
Deprecated. 
Executes the task. If anything goes wrong during execution of the Ant task a BuildException will be thrown.


setSchema

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

Parameters:
schema - The schema to be used for code generation.

setPackage

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

Parameters:
pkgName - The target package name.

setLineseperator

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

Parameters:
lineSep - The line seperator to use for this platform.

setForce

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

Parameters:
force - If true, existing files will be silently overwritten and non-fatal warnings will be ignored

setTypefactory

public void setTypefactory(java.lang.String typeFactory)
Deprecated. 
Set the type factory.

Parameters:
typeFactory - Name of the custom type factory class for collections.

setDestdir

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

Parameters:
dirName - The name of the destination directory


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com