org.apache.tools.ant.taskdefs
Class AntStructure
- Cloneable
public class AntStructure
Creates a partial DTD for Ant from the currently known tasks.
void | add(AntStructure.StructurePrinter p) - The StructurePrinter to use.
|
protected boolean | areNmtokens(String[] s) - Do the Strings all match the XML-NMTOKEN production?
Otherwise they are not suitable as an enumerated attribute,
for example.
|
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.
|
bindToOwner , execute , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , log , log , maybeConfigure , perform , reconfigure , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
areNmtokens
protected boolean areNmtokens(String[] s)
Do the Strings all match the XML-NMTOKEN production?
Otherwise they are not suitable as an enumerated attribute,
for example.
s
- the array of string to test
- true if all the strings in the array math XML-NMTOKEN
isNmtoken
protected boolean isNmtoken(String s)
Does this String match the XML-NMTOKEN production?
- true if the string matches the XML-NMTOKEN
setOutput
public void setOutput(File output)
The output file.