- All Known Subinterfaces:
- AttributeTree,- AuthorTree,- BlockTagTree,- CommentTree,- DeprecatedTree,- DocCommentTree,- DocRootTree,- DocTypeTree,- EndElementTree,- EntityTree,- ErroneousTree,- HiddenTree,- IdentifierTree,- IndexTree,- InheritDocTree,- InlineTagTree,- LinkTree,- LiteralTree,- ParamTree,- ProvidesTree,- ReferenceTree,- ReturnTree,- SeeTree,- SerialDataTree,- SerialFieldTree,- SerialTree,- SinceTree,- StartElementTree,- SummaryTree,- SystemPropertyTree,- TextTree,- ThrowsTree,- UnknownBlockTagTree,- UnknownInlineTagTree,- UsesTree,- ValueTree,- VersionTree
public interface DocTree
Common interface for all nodes in a documentation syntax tree.
- Since:
- 1.8
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classDocTree.KindEnumerates all kinds of trees.
- 
Method SummaryModifier and Type Method Description <R, D> Raccept(DocTreeVisitor<R,D> visitor, D data)Accept method used to implement the visitor pattern.DocTree.KindgetKind()Returns the kind of this tree.
- 
Method Details- 
getKindDocTree.Kind getKind()Returns the kind of this tree.- Returns:
- the kind of this tree.
 
- 
acceptAccept method used to implement the visitor pattern. The visitor pattern is used to implement operations on trees.- Type Parameters:
- R- result type of this operation.
- D- type of additional data.
- Parameters:
- visitor- the visitor to be called
- data- a parameter value to be passed to the visitor method
- Returns:
- the value returned from the visitor method
 
 
-