|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task net.sf.fikin.ant.ToXhtml
public class ToXhtml
Perform to-XHTML conversion of an input document
to-XHTML is backed by neckHTML parser
Example: Perform to-xhtml conversion only and print the file
<toXhtml>
<input file="in1.html" />
<output property="p1" />
</toXhtml>
<echo>${p1}</echo>
created on Jan 5, 2007
Field Summary | |
---|---|
protected boolean |
failOnError
abort build when execution error, by default true |
protected XHTMLInput |
input
input document |
protected Output |
output
output document |
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 | |
---|---|
ToXhtml()
|
Method Summary | |
---|---|
void |
check(org.apache.tools.ant.Task task)
test for input has been set and is consistent test output has been set and is consistent |
XHTMLInput |
createInput()
create xml/html/xhtml input tag |
Output |
createOutput()
create output tag |
void |
execute()
execute the task |
void |
setFailOnError(boolean failOnError)
abort build whenever execution error |
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 |
Field Detail |
---|
protected boolean failOnError
protected XHTMLInput input
protected Output output
Constructor Detail |
---|
public ToXhtml()
Method Detail |
---|
public void setFailOnError(boolean failOnError)
failOnError
- aborts build if set to true, by default true
public XHTMLInput createInput()
public Output createOutput()
public void check(org.apache.tools.ant.Task task) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |