biz.hammurapi.ant
Class XmlSourceEntry

java.lang.Object
  extended by Task
      extended by biz.hammurapi.ant.XmlSourceEntry

public class XmlSourceEntry
extends Task

Base class for elements, which need to read xml files.

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Constructor Summary
XmlSourceEntry()
           
 
Method Summary
 org.w3c.dom.Element getDocumentElement()
           
 java.io.File getFile()
          Getter for property file.
 java.lang.String getURL()
          Getter for property URL.
 boolean isFailOnError()
          Getter for property failOnError.
 void setFailOnError(boolean failOnError)
          Fail build if unable to read source.
 void setFile(java.io.File file)
          File to read rules from.
 void setURL(java.lang.String url)
          URL to read rules from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSourceEntry

public XmlSourceEntry()
Method Detail

setFailOnError

public void setFailOnError(boolean failOnError)
Fail build if unable to read source. Default is true.


isFailOnError

public boolean isFailOnError()
Getter for property failOnError.

Returns:
Value of property failOnError.

setURL

public void setURL(java.lang.String url)
URL to read rules from.


getURL

public java.lang.String getURL()
Getter for property URL.

Returns:
Value of property URL.

setFile

public void setFile(java.io.File file)
File to read rules from.


getFile

public java.io.File getFile()
Getter for property file.

Returns:
Value of property file.

getDocumentElement

public org.w3c.dom.Element getDocumentElement()


Copyright © 2003 Hammurapi Group. All Rights Reserved.