Class XhtmlRendererFactory


  • public abstract class XhtmlRendererFactory
    extends java.lang.Object
    Provides a single point of entry to instantiate Xhtml renderers.
    Since:
    1.0
    Version:
    $Revision: 3108 $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEANSHELL  
      static java.lang.String BSH  
      static java.lang.String CPLUSPLUS  
      static java.lang.String CPP  
      static java.lang.String CXX  
      static java.lang.String GROOVY  
      static java.lang.String HTML  
      static java.lang.String JAVA  
      static java.lang.String LZX  
      private static java.util.Map RENDERERS_CLASSNAMES  
      static java.lang.String XHTML  
      static java.lang.String XML  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Renderer getRenderer​(java.lang.String type)
      Instantiates an instance of a known XhtmlRenderer according to the type that's provided.
      static java.util.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
    • Constructor Detail

      • XhtmlRendererFactory

        public XhtmlRendererFactory()
    • Method Detail

      • getRenderer

        public static Renderer getRenderer​(java.lang.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 java.util.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