Renderer
based on pre-loaded XML renderer definitions.
Attributes | Name and Description |
---|---|
|
caplin.element.factory.RendererFactory()
|
Attributes | Name and Description |
---|---|
|
Object
createDownstreams(caplin.stream.attribute.AttributeDefinitions attributeDefinitions, Object node)
Creates a renderer downstream. |
|
caplin.element.Renderer
createRenderer(String rendererName, Array fieldNames)
Creates the appropriate renderer instance to support the supplied renderer name. |
|
caplin.element.Renderer
createRendererByType(caplin.element.factory.RendererType rendererType, Array fieldNames)
Creates the appropriate renderer instance to support the supplied renderer name. |
|
Object
createUpstreams(caplin.stream.attribute.AttributeDefinitions attributeDefinitions, Object node)
Creates a renderer upstream. |
|
void
toString()
Returns a human-readable string representation of the object, which is useful for debugging. |
►
caplin.element.factory.RendererFactory()
►
Object
createDownstreams(caplin.stream.attribute.AttributeDefinitions attributeDefinitions, Object node)
Creates a renderer downstream.
caplin.stream.attribute.AttributeDefinitions | attributeDefinitions | Attribute definitions. |
Object | node | JSON object specifying downstreams and their transforms. |
►
caplin.element.Renderer
createRenderer(String rendererName, Array fieldNames)
Creates the appropriate renderer instance to support the supplied renderer name.
String | rendererName | the logical name of the renderer. |
Array | fieldNames | the field names the renderer listens to. |
rendererName
.
►
caplin.element.Renderer
createRendererByType(caplin.element.factory.RendererType rendererType, Array fieldNames)
Creates the appropriate renderer instance to support the supplied renderer name.
caplin.element.factory.RendererType | rendererType | The renderer type. |
Array | fieldNames | The field names the renderer listens to. |
►
Object
createUpstreams(caplin.stream.attribute.AttributeDefinitions attributeDefinitions, Object node)
Creates a renderer upstream.
caplin.stream.attribute.AttributeDefinitions | attributeDefinitions | Attribute definitions. |
Object | node | JSON object specifying upstreams and their transforms. |
►
void
toString()
Returns a human-readable string representation of the object, which is useful for debugging.