DODS 7.1 API

org.enhydra.ant.taskdefs
Class DomlValidateTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.enhydra.ant.taskdefs.DomlValidateTask

public class DomlValidateTask
extends org.apache.tools.ant.Task

This class represent task for tarnsformation doml file for validation.


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
DomlValidateTask()
          constructor with index id and unique
 
Method Summary
 void copyDoml()
           
 void execute()
           
static java.lang.String getDomlFile()
          get uses doml file
static java.lang.String getProjectRoot()
          get uses project root
static void main(java.lang.String[] args)
           
 void setDoml(java.lang.String doml)
          The setter for the "doml" attribute
 void setForce(java.lang.String force)
          The setter for the "force" attribute
 void setProjRoot(java.lang.String projRoot)
          The setter for the "projRoot" attribute
 void setTemplate(java.lang.String temp)
          The setter for the "template" attribute
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomlValidateTask

public DomlValidateTask()
constructor with index id and unique

Method Detail

setDoml

public void setDoml(java.lang.String doml)
The setter for the "doml" attribute


setProjRoot

public void setProjRoot(java.lang.String projRoot)
The setter for the "projRoot" attribute


setTemplate

public void setTemplate(java.lang.String temp)
The setter for the "template" attribute


setForce

public void setForce(java.lang.String force)
The setter for the "force" attribute


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

copyDoml

public void copyDoml()
              throws java.io.FileNotFoundException,
                     java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

getProjectRoot

public static java.lang.String getProjectRoot()
get uses project root

Returns:
project root

getDomlFile

public static java.lang.String getDomlFile()
get uses doml file

Returns:
uses doml file

main

public static void main(java.lang.String[] args)

DODS 7.1 API