|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AntStructure.StructurePrinter
Writes the actual structure information.
printHead(java.io.PrintWriter, org.apache.tools.ant.Project, java.util.Hashtable, java.util.Hashtable)
, printTargetDecl(java.io.PrintWriter)
and printTail(java.io.PrintWriter)
are called exactly once, printElementDecl(java.io.PrintWriter, org.apache.tools.ant.Project, java.lang.String, java.lang.Class)
once for
each declared task and type.
Method Summary | |
---|---|
void |
printElementDecl(java.io.PrintWriter out,
Project p,
java.lang.String name,
java.lang.Class element)
Print the definition for a given element. |
void |
printHead(java.io.PrintWriter out,
Project p,
java.util.Hashtable tasks,
java.util.Hashtable types)
Prints the header of the generated output. |
void |
printTail(java.io.PrintWriter out)
Prints the trailer. |
void |
printTargetDecl(java.io.PrintWriter out)
Prints the definition for the target element. |
Method Detail |
---|
void printHead(java.io.PrintWriter out, Project p, java.util.Hashtable tasks, java.util.Hashtable types)
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.void printTargetDecl(java.io.PrintWriter out)
out
- PrintWriter to write to.void printElementDecl(java.io.PrintWriter out, Project p, java.lang.String name, java.lang.Class element)
out
- PrintWriter to write to.p
- Project instance for the current taskname
- element name.element
- class of the defined element.void printTail(java.io.PrintWriter out)
out
- PrintWriter to write to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |