public class XWikiJavaCodeFilter
extends org.radeox.macro.code.DefaultRegexCodeFormatter
implements org.radeox.macro.code.SourceCodeFormatter
org.radeox.macro.code.JavaCodeFilter
) from Radeox. This was needed
because of the inefficient regular expression for detecting string literals, which caused exponential rendering times
for certain inputs.Constructor and Description |
---|
XWikiJavaCodeFilter()
Default constructor, adds filters for java keywords, class names and string literals.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getPriority() |
before, getDescription, replaces, setInitialContext
public XWikiJavaCodeFilter()
public String getName()
getName
in interface org.radeox.macro.code.SourceCodeFormatter
public int getPriority()
getPriority
in interface org.radeox.macro.code.SourceCodeFormatter
getPriority
in class org.radeox.macro.code.DefaultRegexCodeFormatter
Copyright © 2004–2014 XWiki. All rights reserved.