This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Field and Description |
---|---|
pack-priv final String | |
pack-priv final Writer | out
The output stream on which trees are printed. |
Modifier and Type | Method and Description |
---|---|
public void | |
protected void | |
private void | |
public void | |
private void | |
protected void | |
protected void | |
public Void | visitAttribute(AttributeTree
the node being visited node, Void a parameter value p)Implements com. AttributeTree node.
|
public Void | visitAuthor(AuthorTree
the node being visited node, Void a parameter value p)Implements com. AuthorTree node.
|
public Void | visitComment(CommentTree
the node being visited node, Void a parameter value p)Implements com. CommentTree node.
|
public Void | visitDeprecated(DeprecatedTree
the node being visited node, Void a parameter value p)Implements com. DeprecatedTree node.
|
public Void | visitDocComment(DocCommentTree
the node being visited node, Void a parameter value p)Implements com. DocCommentTree node.
|
public Void | visitDocRoot(DocRootTree
the node being visited node, Void a parameter value p)Implements com. DocRootTree node.
|
public Void | visitDocType(DocTypeTree
the node being visited node, Void a parameter value p)Overrides default com. DocTypeTree node.
|
public Void | visitEndElement(EndElementTree
the node being visited node, Void a parameter value p)Implements com. EndElementTree node.
|
public Void | visitEntity(EntityTree
the node being visited node, Void a parameter value p)Implements com. EntityTree node.
|
public Void | visitErroneous(ErroneousTree
the node being visited node, Void a parameter value p)Implements com. ErroneousTree node.
|
public Void | visitEscape(EscapeTree
the node being visited node, Void a parameter value p)Overrides default com. EscapeTree node.
|
public Void | visitHidden(HiddenTree
the node being visited node, Void a parameter value p)Overrides default com. HiddenTree node.
|
public Void | visitIdentifier(IdentifierTree
the node being visited node, Void a parameter value p)Implements com. IdentifierTree node.
|
public Void | visitIndex(IndexTree
the node being visited node, Void a parameter value p)Overrides default com. IndexTree node.
|
public Void | visitInheritDoc(InheritDocTree
the node being visited node, Void a parameter value p)Implements com. InheritDocTree node.
|
public Void | visitLink(LinkTree
the node being visited node, Void a parameter value p)Implements com. LinkTree node.
|
public Void | visitLiteral(LiteralTree
the node being visited node, Void a parameter value p)Implements com. LiteralTree node.
|
public Void | visitOther(DocTree
the node being visited node, Void a parameter value p)Implements com. DocTree node.
|
public Void | visitParam(ParamTree
the node being visited node, Void a parameter value p)Implements com. ParamTree node.
|
public Void | visitProvides(ProvidesTree
the node being visited node, Void a parameter value p)Overrides default com. ProvidesTree node.
|
public Void | visitReference(ReferenceTree
the node being visited node, Void a parameter value p)Implements com. ReferenceTree node.
|
public Void | visitReturn(ReturnTree
the node being visited node, Void a parameter value p)Implements com. ReturnTree node.
|
public Void | visitSee(SeeTree
the node being visited node, Void a parameter value p)Implements com. SeeTree node.
|
public Void | visitSerial(SerialTree
the node being visited node, Void a parameter value p)Implements com. SerialTree node.
|
public Void | visitSerialData(SerialDataTree
the node being visited node, Void a parameter value p)Implements com. SerialDataTree node.
|
public Void | visitSerialField(SerialFieldTree
the node being visited node, Void a parameter value p)Implements com. SerialFieldTree node.
|
public Void | visitSince(SinceTree
the node being visited node, Void a parameter value p)Implements com. SinceTree node.
|
public Void | visitSnippet(SnippetTree
the node being visited node, Void a parameter value p)Overrides default com. SnippetTree node.
|
public Void | visitSpec(SpecTree
the node being visited node, Void a parameter value p)Overrides default com. SpecTree node.
|
public Void | visitStartElement(StartElementTree
the node being visited node, Void a parameter value p)Implements com. StartElementTree node.
|
public Void | visitSummary(SummaryTree
the node being visited node, Void a parameter value p)Overrides default com. SummaryTree node.
|
public Void | visitSystemProperty(SystemPropertyTree
the node being visited node, Void a parameter value p)Overrides default com. SystemPropertyTree node.
|
public Void | visitText(TextTree
the node being visited node, Void a parameter value p)Implements com. TextTree node.
|
public Void | visitThrows(ThrowsTree
the node being visited node, Void a parameter value p)Implements com. ThrowsTree node.
|
public Void | visitUnknownBlockTag(UnknownBlockTagTree
the node being visited node, Void a parameter value p)Implements com. UnknownBlockTagTree node.
|
public Void | visitUnknownInlineTag(UnknownInlineTagTree
the node being visited node, Void a parameter value p)Implements com. UnknownInlineTagTree node.
|
public Void | visitUses(UsesTree
the node being visited node, Void a parameter value p)Overrides default com. UsesTree node.
|
public Void | visitValue(ValueTree
the node being visited node, Void a parameter value p)Implements com. ValueTree node.
|
public Void | visitVersion(VersionTree
the node being visited node, Void a parameter value p)Implements com. VersionTree node.
|
lineSep | back to summary |
---|---|
pack-priv final String lineSep |
out | back to summary |
---|---|
pack-priv final Writer out The output stream on which trees are printed. |
DocPretty | back to summary |
---|---|
public DocPretty(Writer out) |
back to summary | |
---|---|
public void print(DocTree tree) throws IOException Visitor method: print expression tree. |
back to summary | |
---|---|
protected void print(Object s) throws IOException Print string, replacing all non-ascii character with unicode escapes. |
back to summary | |
---|---|
private void print(char c) throws IOException Print character. Should be only used internally for known ASCII characters. |
back to summary | |
---|---|
public void print(List<? extends DocTree> list) throws IOException Print list. |
back to summary | |
---|---|
private void print(List<? extends DocTree> list, char sep) throws IOException Print list with separators. |
println | back to summary |
---|---|
protected void println() throws IOException Print new line. |
printTagName | back to summary |
---|---|
protected void printTagName(DocTree node) throws IOException |
visitAttribute | back to summary |
---|---|
public Void visitAttribute(AttributeTree node, Void p) Implements com. Doc from com. Visits an
|
visitAuthor | back to summary |
---|---|
public Void visitAuthor(AuthorTree node, Void p) Implements com. Doc from com. Visits an
|
visitComment | back to summary |
---|---|
public Void visitComment(CommentTree node, Void p) Implements com. Doc from com. Visits a
|
visitDeprecated | back to summary |
---|---|
public Void visitDeprecated(DeprecatedTree node, Void p) Implements com. Doc from com. Visits a
|
visitDocComment | back to summary |
---|---|
public Void visitDocComment(DocCommentTree node, Void p) Implements com. Doc from com. Visits a
|
visitDocRoot | back to summary |
---|---|
public Void visitDocRoot(DocRootTree node, Void p) Implements com. Doc from com. Visits a
|
visitDocType | back to summary |
---|---|
public Void visitDocType(DocTypeTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitEndElement | back to summary |
---|---|
public Void visitEndElement(EndElementTree node, Void p) Implements com. Doc from com. Visits an
|
visitEntity | back to summary |
---|---|
public Void visitEntity(EntityTree node, Void p) Implements com. Doc from com. Visits an
|
visitErroneous | back to summary |
---|---|
public Void visitErroneous(ErroneousTree node, Void p) Implements com. Doc from com. Visits an
|
visitEscape | back to summary |
---|---|
public Void visitEscape(EscapeTree node, Void p) Overrides default com. Doc from com. Visits an
|
visitHidden | back to summary |
---|---|
public Void visitHidden(HiddenTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitIdentifier | back to summary |
---|---|
public Void visitIdentifier(IdentifierTree node, Void p) Implements com. Doc from com. Visits an
|
visitIndex | back to summary |
---|---|
public Void visitIndex(IndexTree node, Void p) Overrides default com. Doc from com. Visits an
|
visitInheritDoc | back to summary |
---|---|
public Void visitInheritDoc(InheritDocTree node, Void p) Implements com. Doc from com. Visits an
|
visitLink | back to summary |
---|---|
public Void visitLink(LinkTree node, Void p) Implements com. Doc from com. Visits a
|
visitLiteral | back to summary |
---|---|
public Void visitLiteral(LiteralTree node, Void p) Implements com. Doc from com. Visits an
|
visitOther | back to summary |
---|---|
public Void visitOther(DocTree node, Void p) Implements com. Doc from com. Visits an unknown type of
|
visitParam | back to summary |
---|---|
public Void visitParam(ParamTree node, Void p) Implements com. Doc from com. Visits a
|
visitProvides | back to summary |
---|---|
public Void visitProvides(ProvidesTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitReference | back to summary |
---|---|
public Void visitReference(ReferenceTree node, Void p) Implements com. Doc from com. Visits a
|
visitReturn | back to summary |
---|---|
public Void visitReturn(ReturnTree node, Void p) Implements com. Doc from com. Visits a
|
visitSee | back to summary |
---|---|
public Void visitSee(SeeTree node, Void p) Implements com. Doc from com. Visits a
|
visitSerial | back to summary |
---|---|
public Void visitSerial(SerialTree node, Void p) Implements com. Doc from com. Visits a
|
visitSerialData | back to summary |
---|---|
public Void visitSerialData(SerialDataTree node, Void p) Implements com. Doc from com. Visits a
|
visitSerialField | back to summary |
---|---|
public Void visitSerialField(SerialFieldTree node, Void p) Implements com. Doc from com. Visits a
|
visitSince | back to summary |
---|---|
public Void visitSince(SinceTree node, Void p) Implements com. Doc from com. Visits a
|
visitSnippet | back to summary |
---|---|
public Void visitSnippet(SnippetTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitSpec | back to summary |
---|---|
public Void visitSpec(SpecTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitStartElement | back to summary |
---|---|
public Void visitStartElement(StartElementTree node, Void p) Implements com. Doc from com. Visits a
|
visitSummary | back to summary |
---|---|
public Void visitSummary(SummaryTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitSystemProperty | back to summary |
---|---|
public Void visitSystemProperty(SystemPropertyTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitText | back to summary |
---|---|
public Void visitText(TextTree node, Void p) Implements com. Doc from com. Visits a
|
visitThrows | back to summary |
---|---|
public Void visitThrows(ThrowsTree node, Void p) Implements com. Doc from com. Visits a
|
visitUnknownBlockTag | back to summary |
---|---|
public Void visitUnknownBlockTag(UnknownBlockTagTree node, Void p) Implements com. Doc from com. Visits an
|
visitUnknownInlineTag | back to summary |
---|---|
public Void visitUnknownInlineTag(UnknownInlineTagTree node, Void p) Implements com. Doc from com. Visits an
|
visitUses | back to summary |
---|---|
public Void visitUses(UsesTree node, Void p) Overrides default com. Doc from com. Visits a
|
visitValue | back to summary |
---|---|
public Void visitValue(ValueTree node, Void p) Implements com. Doc from com. Visits a
|
visitVersion | back to summary |
---|---|
public Void visitVersion(VersionTree node, Void p) Implements com. Doc from com. Visits a
|