public interface TypeDetectingAttributeRenderer extends AttributeRenderer
Modifier and Type | Method and Description |
---|---|
boolean |
isRenderable(Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
boolean |
isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
render
boolean isRenderable(Attribute attribute, TilesRequestContext request)
attribute
- The attribute to be renderer.request
- The Tiles request context.true
if this renderer can render the attribute.boolean isRenderable(Object value, Attribute attribute, TilesRequestContext request)
value
- The attribute value, already evaluated.attribute
- The attribute to be renderer.request
- The Tiles request context.true
if this renderer can render the attribute.Copyright © 2017. All rights reserved.