java.lang.Cloneable
public class AntStructure extends Task
Modifier and Type | Class | Description |
---|---|---|
static interface |
AntStructure.StructurePrinter |
Writes the actual structure information.
|
description, location, project
Constructor | Description |
---|---|
AntStructure() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(AntStructure.StructurePrinter p) |
The StructurePrinter to use.
|
protected boolean |
areNmtokens(java.lang.String[] s) |
Do the Strings all match the XML-NMTOKEN production?
|
void |
execute() |
Build the antstructure 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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
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 add(AntStructure.StructurePrinter p)
p
- the printer to use.public void execute() throws BuildException
execute
in class Task
BuildException
- if the 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