com.creamtec.ajaxswing.rendering

## Class DocumentRendererFactory

- java.lang.Object
- - com.creamtec.ajaxswing.rendering.DocumentRendererFactory

-     public class DocumentRendererFactory
      extends java.lang.Object

  Abastract Factory design pattern for instantiation of DocumentRenderers Currently only HTML PositionedPageRenderer and StructuredPageRenderer are supported

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DocumentRendererFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DocumentRenderer` | `createDocumentRenderer(ClientAgent agent)` Locates the document renderer that supports the given browser
    `static DocumentRendererFactory` | `getInstance()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DocumentRendererFactory

          public DocumentRendererFactory()

  - ### Method Detail

    - #### getInstance

          public static DocumentRendererFactory getInstance()

    - #### createDocumentRenderer

          public DocumentRenderer createDocumentRenderer(ClientAgent agent)
                                                  throws java.lang.Exception

      Locates the document renderer that supports the given browser
      Returns:
        document renderer
      Throws:
        `AjaxSwingException` - if browser is not supported
        `java.lang.Exception`

Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.