|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.DefaultLinkRenderer
public class DefaultLinkRenderer
Constructor Summary | |
---|---|
DefaultLinkRenderer(Marshaller<Link> linkMarshaller)
|
Method Summary | |
---|---|
java.lang.String |
render(ContentEntityObject content,
ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body. |
java.lang.String |
render(ContentEntityObject content,
java.lang.String linkAlias,
ConversionContext conversionContext)
Renders link to specified content with specified alias. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLinkRenderer(Marshaller<Link> linkMarshaller)
Method Detail |
---|
public java.lang.String render(ContentEntityObject content, ConversionContext conversionContext) throws XhtmlException
LinkRenderer
render
in interface LinkRenderer
content
- the contentconversionContext
- conversion context
XhtmlException
- if there is an error rendering the linkpublic java.lang.String render(ContentEntityObject content, java.lang.String linkAlias, ConversionContext conversionContext) throws XhtmlException
LinkRenderer
render
in interface LinkRenderer
content
- the contentlinkAlias
- body or alias of resulting link. Note that this will be HTML encoded on output.conversionContext
- conversion context
XhtmlException
- if there is an error rendering the link
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |