org.apache.tools.ant.taskdefs
Interface AntStructure.StructurePrinter
public static interface AntStructure.StructurePrinter
void | printElementDecl(PrintWriter out, Project p, String name, Class element) - Print the definition for a given element.
|
void | printHead(PrintWriter out, Project p, Hashtable tasks, Hashtable types) - Prints the header of the generated output.
|
void | printTail(PrintWriter out) - Prints the trailer.
|
void | printTargetDecl(PrintWriter out) - Prints the definition for the target element.
|
printElementDecl
public void printElementDecl(PrintWriter out,
Project p,
String name,
Class element)
Print the definition for a given element.
out
- PrintWriter to write to.p
- Project instance for the current taskname
- element name.element
- class of the defined element.
printHead
public void printHead(PrintWriter out,
Project p,
Hashtable tasks,
Hashtable types)
Prints the header of the generated output.
out
- PrintWriter to write to.p
- Project instance for the current tasktasks
- map (name to implementing class)types
- map (name to implementing class)
data types.
printTail
public void printTail(PrintWriter out)
Prints the trailer.
out
- PrintWriter to write to.
printTargetDecl
public void printTargetDecl(PrintWriter out)
Prints the definition for the target element.
out
- PrintWriter to write to.