|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
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 | |
---|---|
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. |
Method Detail |
---|
java.lang.String render(ContentEntityObject content, ConversionContext conversionContext) throws XhtmlException
content
- the contentconversionContext
- conversion context
XhtmlException
- if there is an error rendering the link
java.lang.IllegalArgumentException
- if content is null or if the type of content is not a supported type. (see ContentTypeEnum
java.lang.String render(ContentEntityObject content, java.lang.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
java.lang.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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |