java.lang.Object |
↳ |
com.atlassian.renderer.v2.components.AbstractRendererComponent |
|
↳ |
com.atlassian.renderer.v2.components.AbstractRegexRendererComponent |
|
|
↳ |
com.atlassian.confluence.content.render.xhtml.migration.XhtmlCamelCaseLinkMigrationRendererComponent |
Class Overview
Handles conversion of camelCase links to XHTML links during migration. We can't use the regular
CamelCaseLinkRendererComponent as migration runs without a user in the existing context so space permissions break
the links. Apart from that, the old renderer doesn't properly render links and results in links that do not
auto-update when the linked page is created or deleted.
Summary
Fields |
public
static
final
Pattern |
LINK_CAMELCASE_PATTERN |
Identical to the non-public com.atlassian.renderer.v2.components.CamelCaseLinkRendererComponent field. |
[Expand]
Inherited Methods |
From class
com.atlassian.renderer.v2.components.AbstractRegexRendererComponent
abstract
void
|
appendSubstitution(StringBuffer arg0, RenderContext arg1, Matcher arg2)
|
String
|
regexRender(String arg0, RenderContext arg1, Pattern arg2)
|
abstract
String
|
render(String arg0, RenderContext arg1)
|
abstract
boolean
|
shouldRender(RenderMode arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.renderer.v2.components.RendererComponent
String
|
render(String arg0, RenderContext arg1)
|
boolean
|
shouldRender(RenderMode arg0)
|
|
Fields
public
static
final
Pattern
LINK_CAMELCASE_PATTERN
Identical to the non-public com.atlassian.renderer.v2.components.CamelCaseLinkRendererComponent field.
Public Constructors
Public Methods
public
void
appendSubstitution
(StringBuffer stringBuffer, RenderContext context, Matcher matcher)
public
String
render
(String wiki, RenderContext renderContext)
public
boolean
shouldRender
(RenderMode renderMode)