クラスDocTreePathScanner<R,P>
java.lang.Object
com.sun.source.util.DocTreeScanner<R,P>
com.sun.source.util.DocTreePathScanner<R,P>
- 型パラメータ:
R- このビジターのメソッドの戻り型。 結果を返すことを必要としないビジターのVoidを使用する。P- このビジターのメソッドに対する追加パラメータのタイプ。 追加のパラメータを必要としないビジターのVoidを使用する。
- すべての実装されたインタフェース:
DocTreeVisitor<R,P>
public class DocTreePathScanner<R,P> extends DocTreeScanner<R,P>
すべての子ツリー・ノードを巡回し、親ノードのパスを維持するためのサポートを提供するDocTreeVisitorです。 特定の型のノードを巡回するには、対応するvisitorXYZメソッドを単にオーバーライドします。 独自のメソッド内では、super.visitXYZを呼び出して、下位ノードを巡回します。
- 導入されたバージョン:
- 1.8
-
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
修飾子と型メソッド説明現在アクティブなスキャン・コールのセットによって構築された、ノードの現在のパスを返します。単一ノードをスキャンします。scan(DocTreePath path, P p) ツリー・パスで識別される位置からツリーをスキャンします。クラスで宣言されたメソッド DocTreeScanner
reduce, scan, visitAttribute, visitAuthor, visitComment, visitDeprecated, visitDocComment, visitDocRoot, visitDocType, visitEndElement, visitEntity, visitErroneous, visitEscape, visitHidden, visitIdentifier, visitIndex, visitInheritDoc, visitLink, visitLiteral, visitOther, visitParam, visitProvides, visitRawText, visitReference, visitReturn, visitSee, visitSerial, visitSerialData, visitSerialField, visitSince, visitSnippet, visitSpec, visitStartElement, visitSummary, visitSystemProperty, visitText, visitThrows, visitUnknownBlockTag, visitUnknownInlineTag, visitUses, visitValue, visitVersion修飾子と型メソッド説明2つの結果を1つの結合された結果にします。一連のノードをスキャンします。visitAttribute(AttributeTree node, P p) AttributeTreeノードにビジットします。visitAuthor(AuthorTree node, P p) AuthorTreeノードにビジットします。visitComment(CommentTree node, P p) CommentTreeノードにビジットします。visitDeprecated(DeprecatedTree node, P p) DeprecatedTreeノードにビジットします。visitDocComment(DocCommentTree node, P p) DocCommentTreeノードにビジットします。visitDocRoot(DocRootTree node, P p) DocRootTreeノードにビジットします。visitDocType(DocTypeTree node, P p) DocTypeTreeノードにビジットします。visitEndElement(EndElementTree node, P p) EndElementTreeノードにビジットします。visitEntity(EntityTree node, P p) EntityTreeノードにビジットします。visitErroneous(ErroneousTree node, P p) ErroneousTreeノードにビジットします。visitEscape(EscapeTree node, P p) EscapeTreeノードにアクセスします。visitHidden(HiddenTree node, P p) HiddenTreeノードにビジットします。visitIdentifier(IdentifierTree node, P p) IdentifierTreeノードにビジットします。visitIndex(IndexTree node, P p) IndexTreeノードにビジットします。visitInheritDoc(InheritDocTree node, P p) InheritDocTreeノードにビジットします。LinkTreeノードにビジットします。visitLiteral(LiteralTree node, P p) LiteralTreeノードにビジットします。visitOther(DocTree node, P p) 不明なタイプのDocTreeノードにビジットします。visitParam(ParamTree node, P p) ParamTreeノードにビジットします。visitProvides(ProvidesTree node, P p) ProvidesTreeノードにビジットします。visitRawText(RawTextTree node, P p) RawTextTreeノードにアクセスします。visitReference(ReferenceTree node, P p) ReferenceTreeノードにビジットします。visitReturn(ReturnTree node, P p) ReturnTreeノードにビジットします。SeeTreeノードにビジットします。visitSerial(SerialTree node, P p) SerialTreeノードにビジットします。visitSerialData(SerialDataTree node, P p) SerialDataTreeノードにビジットします。visitSerialField(SerialFieldTree node, P p) SerialFieldTreeノードにビジットします。visitSince(SinceTree node, P p) SinceTreeノードにビジットします。visitSnippet(SnippetTree node, P p) SnippetTreeノードにビジットします。SpecTreeノードにアクセスします。visitStartElement(StartElementTree node, P p) StartElementTreeノードにビジットします。visitSummary(SummaryTree node, P p) SummaryTreeノードにビジットします。visitSystemProperty(SystemPropertyTree node, P p) SystemPropertyTreeノードにビジットします。TextTreeノードにビジットします。visitThrows(ThrowsTree node, P p) ThrowsTreeノードにビジットします。visitUnknownBlockTag(UnknownBlockTagTree node, P p) UnknownBlockTagTreeノードにビジットします。visitUnknownInlineTag(UnknownInlineTagTree node, P p) UnknownInlineTagTreeノードにビジットします。UsesTreeノードにビジットします。visitValue(ValueTree node, P p) ValueTreeノードにビジットします。visitVersion(VersionTree node, P p) VersionTreeノードにビジットします。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。toString()オブジェクトの文字列表現を返します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。
-
コンストラクタの詳細
-
DocTreePathScanner
public DocTreePathScanner()DocTreePathScannerを構築します。
-
-
メソッドの詳細
-
scan
public R scan(DocTreePath path, P p) ツリー・パスで識別される位置からツリーをスキャンします。- パラメータ:
path- パスp- ビジター・メソッドに渡す値- 戻り値:
- メイン・ビジター・メソッドから返された結果
-
scan
-
getCurrentPath
-