oracle.cabo.ui.jsps.tags
Class NamedChildAndUINodeTag

java.lang.Object
  |
  +--oracle.cabo.ui.jsps.tags.BaseTag
        |
        +--oracle.cabo.ui.jsps.tags.BaseUINodeTag
              |
              +--oracle.cabo.ui.jsps.tags.NamedChildAndUINodeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag, UINodeEnvelopeTag, UINodeTag, UIXTag
Direct Known Subclasses:
ContentFooterTag, SeparatorTag

public abstract class NamedChildAndUINodeTag
extends BaseUINodeTag
implements UINodeEnvelopeTag

Tag superclass for nodes that must behave as both UINodes and UINode wrappers - and for example. These tags will behave as ordinary UINodes, unless they are immediate children of the specific UINode tags that are known to support this named child. So, SeparatorTag only behaves like a UINode wrapper when its inside FlowLayoutTag, StyledListTag, or StackLayoutTag.


Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
NamedChildAndUINodeTag()
           
 
Method Summary
 void addNode(UINode node)
          Callback to add a UINode.
 int doEndTag()
           
 int doStartTag()
           
protected abstract  java.lang.String getChildName()
          Override this to return the child name (when this component is used as a named child).
protected abstract  java.lang.Class[] getNamedChildParents()
          Override this to return an array of Class objects, each of which is the class of a specific Tag implementation that supports this child as a named child.
 
Methods inherited from class oracle.cabo.ui.jsps.tags.BaseUINodeTag
createUINode, getAttributeValue, getBoundAttributeValue, getExposeBeanWithKey, getId, getPageContext, getParent, getUINode, parseBoolean, parseBoundValue, parseChar, parseDate, parseInt, parseLong, parseStringArray, release, setAttributeValue, setBoundAttributeValue, setId, setNodeID, setPageContext, setParent, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, release, setPageContext, setParent
 

Constructor Detail

NamedChildAndUINodeTag

public NamedChildAndUINodeTag()
Method Detail

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class BaseUINodeTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class BaseUINodeTag

addNode

public void addNode(UINode node)
             throws javax.servlet.jsp.JspException
Description copied from class: BaseUINodeTag
Callback to add a UINode. Always adds nodes as indexed children.
Specified by:
addNode in interface UINodeEnvelopeTag
Overrides:
addNode in class BaseUINodeTag

getChildName

protected abstract java.lang.String getChildName()
Override this to return the child name (when this component is used as a named child).

getNamedChildParents

protected abstract java.lang.Class[] getNamedChildParents()
Override this to return an array of Class objects, each of which is the class of a specific Tag implementation that supports this child as a named child.