org.apache.tools.ant.taskdefs
public class AntStructure extends Task
Since: Ant 1.1
UNKNOWN: category="xml"
Nested Class Summary | |
---|---|
static interface | AntStructure.StructurePrinter
Writes the actual structure information.
|
Method Summary | |
---|---|
void | add(AntStructure.StructurePrinter p)
The StructurePrinter to use. |
protected boolean | areNmtokens(String[] s)
Do the Strings all match the XML-NMTOKEN production?
|
void | execute()
Build the antstructure DTD.
|
protected boolean | isNmtoken(String s)
Does this String match the XML-NMTOKEN production? |
void | setOutput(File output)
The output file. |
Parameters: p the printer to use.
Since: Ant 1.7
Otherwise they are not suitable as an enumerated attribute, for example.
Parameters: s the array of string to test
Returns: true if all the strings in the array math XML-NMTOKEN
Throws: BuildException if the DTD cannot be written.
Parameters: s the string to test
Returns: true if the string matches the XML-NMTOKEN
Parameters: output the output file