| java.lang.Object uk.org.ponder.rsf.components.UIComponent uk.org.ponder.rsf.components.UIParameterHolder uk.org.ponder.rsf.components.UIContainer uk.org.ponder.rsf.components.UIBranchContainer
All known Subclasses: uk.org.ponder.rsf.components.UIJointContainer, uk.org.ponder.rsf.view.ViewRoot,
UIBranchContainer | public class UIBranchContainer extends UIContainer (Code) | | UIBranchContainer represents a "branch point" in the IKAT rendering process.
At a branch point, the renderer may either branch to another part of the
current template, or a different template, to a point with the same RSF ID. This
kind of branch may also form a loop, where there are sibling branches with the
same ID. A "forced branch" can be made to a tag with a different ID by using
a
UIJointContainer .
UIBranchContainer has responsibility for managing naming of child components.
The key to the child map is the ID prefix - if the ID has no suffix,
the value is the single component with that ID at this level.
If the ID has a suffix, indicating a repetitive domain, the value is an
ordered list of components provided by the producer which will drive
the rendering at this recursion level.
author: Antranig Basman (antranig@caret.cam.ac.uk) |
make | public static UIBranchContainer make(UIContainer parent, String ID, String localID)(Code) | | Constructs a "repeating" BranchContainer, uniquely identified by the
"localID" passed as the 3rd argument. Suitable, for example, for creating a
table row.
Parameters: parent - The parent container to which the returned branch should beadded. Parameters: ID - The RSF ID for the branch (must contain a colon character) Parameters: localID - The local ID identifying this branch instance (must beunique for each branch with the same ID in this branch) |
|
|