|
org.apache.tools.ant.taskdefs
|
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 | |
XmlProperty()
Constructor. |
Method Summary | |
void |
execute()
Run the task. |
void |
init()
Initializes the task. |
void |
setCollapseAttributes(boolean collapseAttributes)
flag to treat attributes as nested elements; optional, default false |
void |
setFile(java.io.File src)
The XML file to parse; required. |
void |
setKeeproot(boolean keepRoot)
first value in the property name; optional, default is true |
void |
setPrefix(java.lang.String prefix)
the prefix to prepend to each property |
void |
setValidate(boolean validate)
flag to validate the XML file; optional, default false |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 |
public XmlProperty()
Method Detail |
public void init()
public void execute() throws BuildException
BuildException
- The exception raised during task execution.public void setFile(java.io.File src)
public void setPrefix(java.lang.String prefix)
public void setKeeproot(boolean keepRoot)
public void setValidate(boolean validate)
public void setCollapseAttributes(boolean collapseAttributes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |