|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkRenderer
Allows links to content to be rendered without exposing our marshalling architecture.
Method Summary | |
---|---|
String |
render(ContentEntityObject content,
ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body. |
String |
render(ContentEntityObject content,
String linkAlias,
ConversionContext conversionContext)
Renders link to specified content with specified alias. |
Method Detail |
---|
String render(ContentEntityObject content, ConversionContext conversionContext) throws XhtmlException
content
- the contentconversionContext
- conversion context
XhtmlException
- if there is an error rendering the link
IllegalArgumentException
- if content is null or if the type of content is not a supported type. (see ContentTypeEnum
String render(ContentEntityObject content, String linkAlias, ConversionContext conversionContext) throws XhtmlException
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
IllegalArgumentException
- if content is null or if the type of content is not a supported type. (see ContentTypeEnum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |