public class AntStructure extends Task
Modifier and Type | Class and Description |
---|---|
static interface |
AntStructure.StructurePrinter
Writes the actual structure information.
|
description, location, project
Constructor and Description |
---|
AntStructure() |
Modifier and Type | Method and 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.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
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