Interface DocTree
- All Known Subinterfaces:
AttributeTree
,AuthorTree
,BlockTagTree
,CommentTree
,DeprecatedTree
,DocCommentTree
,DocRootTree
,DocTypeTree
,EndElementTree
,EntityTree
,ErroneousTree
,EscapeTree
,HiddenTree
,IdentifierTree
,IndexTree
,InheritDocTree
,InlineTagTree
,LinkTree
,LiteralTree
,ParamTree
,ProvidesTree
,RawTextTree
,ReferenceTree
,ReturnTree
,SeeTree
,SerialDataTree
,SerialFieldTree
,SerialTree
,SinceTree
,SnippetTree
,SpecTree
,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 Summary
-
Method Summary
Modifier and TypeMethodDescription<R,
D> R accept
(DocTreeVisitor<R, D> visitor, D data) Accept method used to implement the visitor pattern.getKind()
Returns the kind of this tree.
-
Method Details
-
getKind
-
accept
Accept method used to implement the visitor pattern. The visitor pattern is used to implement operations on trees.- Type Parameters:
R
- the result type of this operationD
- the type of additional data- Parameters:
visitor
- the visitor to be calleddata
- a parameter value to be passed to the visitor method- Returns:
- the value returned from the visitor method
-