public class XmlXhtmlRenderer extends XhtmlRenderer
RIFE template tags are also supported and will be clearly highlighted.
Modifier and Type | Field and Description |
---|---|
static java.util.HashMap |
DEFAULT_CSS |
Constructor and Description |
---|
XmlXhtmlRenderer() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getCssClass(int style)
Looks up the CSS class identifier that corresponds to the syntax style.
|
protected java.util.Map |
getDefaultCssStyles()
Returns a map of all the CSS styles that the renderer requires,
together with default definitions for them.
|
protected ExplicitStateHighlighter |
getHighlighter()
Returns the language-specific highlighting lexer that should be used
|
getCssClassDefinitions, getXhtmlFooter, getXhtmlHeader, getXhtmlHeaderFragment, highlight, highlight
public static final java.util.HashMap DEFAULT_CSS
public XmlXhtmlRenderer()
protected java.util.Map getDefaultCssStyles()
XhtmlRenderer
getDefaultCssStyles
in class XhtmlRenderer
protected java.lang.String getCssClass(int style)
XhtmlRenderer
getCssClass
in class XhtmlRenderer
style
- The syntax style.null
if the syntax style isn't supported.
protected ExplicitStateHighlighter getHighlighter()
XhtmlRenderer
getHighlighter
in class XhtmlRenderer
Copyright © 2004-2006 Uwyn bvba/sprl and Omnicore Software. All Rights Reserved.