public class AntCompleteTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
AntCompleteTask() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areNmtokens(java.lang.String[] s)
Do the Strings all match the XML-NMTOKEN production?
|
void |
execute()
Build the antcomplete XML-DTD.
|
protected boolean |
isNmtoken(java.lang.String s)
Does this String match the XML-NMTOKEN production?
|
void |
setOutput(java.io.File output)
The output file.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setOutput(java.io.File output)
output
- the output filepublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if the XML-DTD cannot be written.protected boolean isNmtoken(java.lang.String s)
s
- the string to testprotected boolean areNmtokens(java.lang.String[] s)
Otherwise they are not suitable as an enumerated attribute, for example.
s
- the array of string to test