Renderer
public class JavaXhtmlRenderer extends XhtmlRenderer
Modifier and Type | Field | Description |
---|---|---|
static HashMap |
DEFAULT_CSS |
Constructor | Description |
---|---|
JavaXhtmlRenderer() |
Modifier and Type | Method | 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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–2019. All rights reserved.