Package editor.util
Class JavadocAccess
- java.lang.Object
-
- editor.util.JavadocAccess
-
public class JavadocAccess extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static JavadocAccessg_instanceprivate static java.lang.String[]J2SE_PACKAGE_PREFIXESprivate static java.lang.StringJ2SE_URL_PREFIXprivate static java.util.Map<java.lang.String,java.lang.String>JAVADOC_URL_BY_PREFIXES
-
Constructor Summary
Constructors Modifier Constructor Description privateJavadocAccess()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidappendMethodSignatureLink(java.lang.StringBuilder strUrl, IMethodInfo methodInfo)private java.lang.StringbuildHtml(java.lang.String strUrl, java.lang.String strText)private java.lang.StringbuildHtmlForClass(java.lang.String fqn)private java.lang.StringbuildHtmlForMethod(IJavaType type, IMethodInfo methodInfo)private java.lang.StringbuildHtmlForProperty(IJavaType type, IPropertyInfo propertyInfo)private java.lang.StringgetGenericNoJavadocContent(IFeatureInfo featureInfo)java.lang.StringgetJavadocHelp(IFeatureInfo featureInfo)private java.lang.StringgetJavadocURLPrefix(IType type)private java.lang.StringgetMemberHelp(IMethodInfo methodInfo)private java.lang.StringgetMemberHelp(IPropertyInfo propertyInfo)private java.lang.StringgetMethodSignatureHtml(IMethodInfo methodInfo)private java.lang.StringgetTypeHelp(IType type)static JavadocAccessinstance()private booleanisTypeHandled(IType type)
-
-
-
Field Detail
-
g_instance
private static JavadocAccess g_instance
-
J2SE_PACKAGE_PREFIXES
private static final java.lang.String[] J2SE_PACKAGE_PREFIXES
-
J2SE_URL_PREFIX
private static final java.lang.String J2SE_URL_PREFIX
- See Also:
- Constant Field Values
-
JAVADOC_URL_BY_PREFIXES
private static final java.util.Map<java.lang.String,java.lang.String> JAVADOC_URL_BY_PREFIXES
-
-
Method Detail
-
instance
public static JavadocAccess instance()
-
getJavadocHelp
public java.lang.String getJavadocHelp(IFeatureInfo featureInfo)
-
getTypeHelp
private java.lang.String getTypeHelp(IType type)
-
getMemberHelp
private java.lang.String getMemberHelp(IPropertyInfo propertyInfo)
-
getMemberHelp
private java.lang.String getMemberHelp(IMethodInfo methodInfo)
-
isTypeHandled
private boolean isTypeHandled(IType type)
-
getJavadocURLPrefix
private java.lang.String getJavadocURLPrefix(IType type)
-
getGenericNoJavadocContent
private java.lang.String getGenericNoJavadocContent(IFeatureInfo featureInfo)
-
buildHtmlForClass
private java.lang.String buildHtmlForClass(java.lang.String fqn)
-
buildHtmlForProperty
private java.lang.String buildHtmlForProperty(IJavaType type, IPropertyInfo propertyInfo)
-
buildHtmlForMethod
private java.lang.String buildHtmlForMethod(IJavaType type, IMethodInfo methodInfo)
-
appendMethodSignatureLink
private void appendMethodSignatureLink(java.lang.StringBuilder strUrl, IMethodInfo methodInfo)
-
getMethodSignatureHtml
private java.lang.String getMethodSignatureHtml(IMethodInfo methodInfo)
-
buildHtml
private java.lang.String buildHtml(java.lang.String strUrl, java.lang.String strText)
-
-