public class JavaXhtmlRenderer extends XhtmlRenderer
Modifier and Type | Field and Description |
---|---|
static HashMap |
DEFAULT_CSS |
Constructor and Description |
---|
JavaXhtmlRenderer() |
Modifier and Type | Method and Description |
---|---|
protected String |
getCssClass(int style)
Looks up the CSS class identifier that corresponds to the syntax style.
|
protected 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 HashMap DEFAULT_CSS
protected Map getDefaultCssStyles()
XhtmlRenderer
getDefaultCssStyles
in class XhtmlRenderer
protected 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 © 2011–2021. All rights reserved.