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 RenderergetRenderer(String type) Instantiates an instance of a knownXhtmlRendereraccording to the type that's provided.static SetReturned 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 knownXhtmlRendereraccording 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
XhtmlRendererthat corresponds to the type; ornullif the type wasn't known - Since:
- 1.0
-
getSupportedTypes
Returned a set with all the supported XHTML renderer types.- Returns:
- a
Setwith the supported XHTML renderer types as strings. - Since:
- 1.0
-