| java.lang.Object uk.org.ponder.rsf.components.decorators.UIFreeAttributeDecorator
UIFreeAttributeDecorator | public class UIFreeAttributeDecorator implements UIDecorator(Code) | | Allows free interception of *all* XML attributes in the rendered output. This
decorator is virtually as dangerous as
uk.org.ponder.rsf.components.UIVerbatim and the dire warnings of
sufferings for users at the head of that class should be repeated.
The attribute list will be applied on top of attributes inherited
from the template, but will be overwritten by any component-specific
attributes applied by the renderer for the component to which this decorator
is attached.
Please try to think of technology-neutral abstractions rather than using this
class, wherever possible.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Field Summary | |
public Map | attributes A map of String attribute names to String attribute values which will be
used to override any attributes taken from the template. |
attributes | public Map attributes(Code) | | A map of String attribute names to String attribute values which will be
used to override any attributes taken from the template.
|
UIFreeAttributeDecorator | public UIFreeAttributeDecorator()(Code) | | |
UIFreeAttributeDecorator | public UIFreeAttributeDecorator(Map attributes)(Code) | | |
UIFreeAttributeDecorator | public UIFreeAttributeDecorator(String key, String value)(Code) | | Creates a decorator representing the single supplied key/value pair *
|
UIFreeAttributeDecorator | public UIFreeAttributeDecorator(String[] keys, String[] values)(Code) | | Supplied with key and value arrays of equal lengths, which will form the
decorator through selecting keys and values pairwise.
|
|
|