public class ElementJavadoc extends Object
| Modifier and Type | Method and Description |
|---|---|
static ElementJavadoc |
create(CompilationInfo compilationInfo,
Element element)
Creates an object describing the Javadoc of given element.
|
static ElementJavadoc |
create(CompilationInfo compilationInfo,
Element element,
Callable<Boolean> cancel)
Creates an object describing the Javadoc of given element.
|
Action |
getGotoSourceAction()
Gets action capable of juming to source of the Element this Javadoc
belongs to.
|
String |
getText()
Gets the javadoc comment formated as HTML.
|
Future<String> |
getTextAsync()
Gets the javadoc comment formated as HTML.
|
URL |
getURL()
Gets URL of the external javadoc.
|
ElementJavadoc |
resolveLink(String link)
Resolves a link contained in the Javadoc comment to an object
describing the linked javadoc
|
String |
toString() |
public static final ElementJavadoc create(CompilationInfo compilationInfo, Element element)
compilationInfo - CompilationInfoelement - Element the javadoc is required forpublic static final ElementJavadoc create(CompilationInfo compilationInfo, Element element, Callable<Boolean> cancel)
compilationInfo - CompilationInfoelement - Element the javadoc is required forcancel - a Callable to signal the cancel requestpublic String getText()
public Future<String> getTextAsync()
Future of HTML text of the javadocpublic URL getURL()
public ElementJavadoc resolveLink(String link)
link - Link which has to be resolvedpublic Action getGotoSourceAction()
Built on May 21 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.