public class StringAttributeRenderer extends AbstractTypeDetectingAttributeRenderer
applicationContext, attributeEvaluatorFactory, contextFactory| Constructor and Description |
|---|
StringAttributeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRenderable(Object value,
Attribute attribute,
TilesRequestContext request)
Checks if this renderer can render an attribute.
|
void |
write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
isRenderablegetRequestContext, isPermitted, render, setApplicationContext, setAttributeEvaluatorFactory, setRequestContextFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderpublic void write(Object value, Attribute attribute, TilesRequestContext request) throws IOException
write in class AbstractBaseAttributeRenderervalue - The value of the attribute to be rendered.attribute - The attribute to render.request - The Tiles request object.IOException - If something goes wrong during rendition.public 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 © 2025. All rights reserved.