|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.doclets.internal.toolkit.util.links.LinkFactory
com.sun.tools.doclets.formats.html.LinkFactoryImpl
public class LinkFactoryImpl
A factory that returns a link given the information about it.
| Field Summary | |
|---|---|
private HtmlDocletWriter |
m_writer
|
| Constructor Summary | |
|---|---|
LinkFactoryImpl(HtmlDocletWriter writer)
|
|
| Method Summary | |
|---|---|
protected LinkOutput |
getClassLink(LinkInfo linkInfo)
Return the link to the given class. |
private java.lang.String |
getClassToolTip(ClassDoc classDoc,
boolean isTypeLink)
Given a class, return the appropriate tool tip. |
protected LinkOutput |
getOutputInstance()
Return an empty instance of the link output object. |
protected LinkOutput |
getTypeParameterLink(LinkInfo linkInfo,
Type typeParam)
Return the link to the given type parameter. |
private java.lang.String |
pathString(LinkInfoImpl linkInfo)
Return path to the given file name in the given package. |
| Methods inherited from class com.sun.tools.doclets.internal.toolkit.util.links.LinkFactory |
|---|
getGreaterThanString, getLessThanString, getLinkOutput, getTypeParameterLinks, getTypeParameterLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private HtmlDocletWriter m_writer
| Constructor Detail |
|---|
public LinkFactoryImpl(HtmlDocletWriter writer)
| Method Detail |
|---|
protected LinkOutput getOutputInstance()
getOutputInstance in class LinkFactoryprotected LinkOutput getClassLink(LinkInfo linkInfo)
getClassLink in class LinkFactorylinkInfo - the information about the link to construct.
protected LinkOutput getTypeParameterLink(LinkInfo linkInfo,
Type typeParam)
getTypeParameterLink in class LinkFactorylinkInfo - the information about the link to construct.typeParam - the type parameter to link to.
private java.lang.String getClassToolTip(ClassDoc classDoc,
boolean isTypeLink)
classDoc - the class to get the tool tip for.
private java.lang.String pathString(LinkInfoImpl linkInfo)
linkInfo - the information about the link.fileName - the file name, to which path string is.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||