Package com.uwyn.jhighlight.renderer
Class XhtmlRendererFactory
java.lang.Object
com.uwyn.jhighlight.renderer.XhtmlRendererFactory
Provides a single point of entry to instantiate Xhtml renderers.
- Since:
- 1.0
- Version:
- $Revision: 3108 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Renderer
getRenderer
(String type) Instantiates an instance of a knownXhtmlRenderer
according to the type that's provided.static Set
Returned a set with all the supported XHTML renderer types.
-
Field Details
-
GROOVY
- See Also:
-
JAVA
- See Also:
-
BEANSHELL
- See Also:
-
BSH
- See Also:
-
XML
- See Also:
-
XHTML
- See Also:
-
LZX
- See Also:
-
HTML
- See Also:
-
CPP
- See Also:
-
CXX
- See Also:
-
CPLUSPLUS
- See Also:
-
RENDERERS_CLASSNAMES
-
-
Constructor Details
-
XhtmlRendererFactory
public XhtmlRendererFactory()
-
-
Method Details
-
getRenderer
Instantiates an instance of a knownXhtmlRenderer
according to the type that's provided.- Parameters:
type
- The type of renderer, look at the static variables of this class to see which ones are supported.- Returns:
- an instance of the
XhtmlRenderer
that corresponds to the type; ornull
if the type wasn't known - Since:
- 1.0
-
getSupportedTypes
Returned a set with all the supported XHTML renderer types.- Returns:
- a
Set
with the supported XHTML renderer types as strings. - Since:
- 1.0
-