com.uwyn.jhighlight.renderer
Class XhtmlRendererFactory
java.lang.Object
com.uwyn.jhighlight.renderer.XhtmlRendererFactory
public abstract class XhtmlRendererFactory
- extends Object
Provides a single point of entry to instantiate Xhtml renderers.
- Since:
- 1.0
- Version:
- $Revision: 3108 $
- Author:
- Geert Bevin (gbevin[remove] at uwyn dot com)
Method Summary |
static Renderer |
getRenderer(String type)
Instantiates an instance of a known XhtmlRenderer according to
the type that's provided. |
static Set |
getSupportedTypes()
Returned a set with all the supported XHTML renderer types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROOVY
public static final String GROOVY
- See Also:
- Constant Field Values
JAVA
public static final String JAVA
- See Also:
- Constant Field Values
BEANSHELL
public static final String BEANSHELL
- See Also:
- Constant Field Values
BSH
public static final String BSH
- See Also:
- Constant Field Values
XML
public static final String XML
- See Also:
- Constant Field Values
XHTML
public static final String XHTML
- See Also:
- Constant Field Values
LZX
public static final String LZX
- See Also:
- Constant Field Values
HTML
public static final String HTML
- See Also:
- Constant Field Values
CPP
public static final String CPP
- See Also:
- Constant Field Values
CXX
public static final String CXX
- See Also:
- Constant Field Values
CPLUSPLUS
public static final String CPLUSPLUS
- See Also:
- Constant Field Values
XhtmlRendererFactory
public XhtmlRendererFactory()
getRenderer
public static Renderer getRenderer(String type)
- Instantiates an instance of a known
XhtmlRenderer
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; or
null
if the type wasn't known
- Since:
- 1.0
getSupportedTypes
public static Set 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
Copyright © 2004-2006 Uwyn bvba/sprl and Omnicore Software. All Rights Reserved.