| java.lang.Object uk.org.ponder.rsf.renderer.scr.FlatSCR
FlatSCR | public class FlatSCR implements BasicSCR(Code) | | Class encapsulating a "static" (i.e. independent of any producer
components) rewriting operation on a tag, which is "flat" - that is,
operates on a predetermined attribute based on static data.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
Field Summary | |
final public static String | APPEND_BODY A value for the body_strategy field, indicating that this
renderer will append to any existing tag body that it discovers. | final public static String | REPLACE_BODY A value for the body_strategy field, indicating that this
renderer will replace any existing tag body that it discovers. | public String | body Any text to form as the body of the tag, null if no replacement required.
May only be set if the renderer type is LEAF_TAG. | public String | body_strategy Takes on one of the two static values above, indicating strategy to be
used with the supplied body text. | public String | tag A replacement tag, if tag is to be rewritten - this is currently only
supported for empty tags. | public int | tag_type One of the values from ComponentRenderer, indicating whether this
renderer is intended to act on complete tags, consuming the close tag from
the template stream. |
APPEND_BODY | final public static String APPEND_BODY(Code) | | A value for the body_strategy field, indicating that this
renderer will append to any existing tag body that it discovers.
|
REPLACE_BODY | final public static String REPLACE_BODY(Code) | | A value for the body_strategy field, indicating that this
renderer will replace any existing tag body that it discovers.
|
body | public String body(Code) | | Any text to form as the body of the tag, null if no replacement required.
May only be set if the renderer type is LEAF_TAG.
|
body_strategy | public String body_strategy(Code) | | Takes on one of the two static values above, indicating strategy to be
used with the supplied body text.
|
tag | public String tag(Code) | | A replacement tag, if tag is to be rewritten - this is currently only
supported for empty tags. May be null for no action.
|
tag_type | public int tag_type(Code) | | One of the values from ComponentRenderer, indicating whether this
renderer is intended to act on complete tags, consuming the close tag from
the template stream.
|
getNameValue | public Iterator getNameValue()(Code) | | A method for deserialisation
|
|
|