|
||||||||||
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.links.DefaultHrefEvaluator
public class DefaultHrefEvaluator
An HrefEvaluator which knows how to generate href values for ConversionContextOutputType.DISPLAY
and generates relative links for the browser.
Constructor Summary | |
---|---|
DefaultHrefEvaluator(ContextPathHolder contextPathHolder)
|
Method Summary | |
---|---|
java.lang.String |
createHref(ConversionContext context,
java.lang.Object destination,
java.lang.String anchor)
Create the appropriate href attribute value for the supplied ConversionContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultHrefEvaluator(ContextPathHolder contextPathHolder)
Method Detail |
---|
public java.lang.String createHref(ConversionContext context, java.lang.Object destination, java.lang.String anchor)
HrefEvaluator
createHref
in interface HrefEvaluator
context
- the ConversionContext providing information about the conversion being performed, including the
target output type e.g. display, pdfdestination
- the objectanchor
- an option parameter specifying an anchor component for the href attribute. This may be null if
there is no destination anchor.
ConversionContextOutputType} for the supported outputType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |