com.bea.wlw.netui.tags.rendering
Class TagRenderingBase.Factory
java.lang.Object
com.bea.wlw.netui.tags.rendering.TagRenderingBase.Factory
- Enclosing class:
- TagRenderingBase
public static class TagRenderingBase.Factory
- extends Object
This is the factory for obtaining a Tag Rendering object. The factory supports to types
of renderings HTML 4.01 and XHTML. The factory is responsible for creating the rendering objects and
passing them out. The target encoding may be specified on a page by page basis within a WebApp. The
getRendering
method will return a TagRenderingBase
object. This object is always
a stateless object. The state needed to render the tag will be passed into the tag.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagRenderingBase.Factory
public TagRenderingBase.Factory()
getRendering
public static TagRenderingBase getRendering(Object token,
javax.servlet.ServletRequest req)
- Factory method for getting a TagRenderingBase for a tag. The default rendering is HTML 4.01.
- Parameters:
token
- The type of TagRenderingBase to retrieve.req
- The ServletRequest
used to see what type of rendering is being done.
- Returns:
- A
TagRenderingBase
getConstantRendering
public static ConstantRendering getConstantRendering(javax.servlet.ServletRequest req)
- Parameters:
req
-
- Returns:
- ConstantRendering