oracle.cabo.ui.jsps.tags
Class BaseUINodeTag

java.lang.Object
  |
  +--oracle.cabo.ui.jsps.tags.BaseTag
        |
        +--oracle.cabo.ui.jsps.tags.BaseUINodeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag, UINodeEnvelopeTag, UINodeTag, UIXTag
Direct Known Subclasses:
AddTableRowTag, ApplicationSwitcherTag, BodyTag, BorderLayoutTag, BreadCrumbsTag, BrowseMenuTag, BulletedListTag, ButtonTag, CellFormatTag, CheckBoxTag, ChoiceTag, ColumnTag, ContentContainerTag, DataScopeTag, DateFieldTag, DisplayExceptionTag, DocumentTag, FileUploadTag, FlowLayoutTag, FooterTag, FormattedTextTag, FormParameterTag, FormTag, FormValueTag, FrameBorderLayoutTag, FrameTag, GlobalButtonBarTag, GlobalButtonTag, GlobalHeaderTag, HeaderTag, HeadTag, HGridTag, HideShowHeaderTag, HideShowTag, ImageTag, ImportScriptTag, IncludeTag, InlineMessageTag, LabeledFieldLayoutTag, LinkTag, ListOfValuesTag, ListTag, LovFieldTag, LovInputTag, MediaTag, MessageBoxTag, MessageCheckBoxTag, MessageChoiceTag, MessageDateFieldTag, MessageFileUploadTag, MessageListTag, MessageLovFieldTag, MessageLovInputTag, MessagePromptTag, MessageRadioButtonTag, MessageRadioGroupTag, MessageStyledTextTag, MessageTextInputTag, MessageTextTag, MultipleSelectionTag, NamedChildAndUINodeTag, NavigationBarTag, OptionTag, PageButtonBarTag, PageHeaderLayoutTag, PageLayoutTag, RadioButtonTag, RadioGroupTag, RawTextTag, ResetButtonTag, RowLayoutTag, ScriptTag, ServletIncludeTag, ShuttleTag, SideBarTag, SideNavTag, SingleSelectionTag, SortableHeaderTag, SpacerTag, StackLayoutTag, StyledItemTag, StyledListTag, StyledTextTag, StyleSheetTag, SubmitButtonTag, SubTabBarTag, SubTabLayoutTag, SwitcherTag, TabBarTag, TableLayoutTag, TableTag, TextInputTag, TextTag, TipTag, TotalRowTag, TrainTag, TreeTag, TryTag, UrlIncludeTag

public abstract class BaseUINodeTag
extends oracle.cabo.ui.jsps.tags.BaseTag
implements UINodeTag, UINodeEnvelopeTag

Base tag for UINode JSP tags.


Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
protected BaseUINodeTag()
           
 
Method Summary
 void addNode(UINode node)
          Callback to add a UINode.
protected abstract  MutableUINode createUINode()
          Override this method to create the UINode.
 int doEndTag()
           
 int doStartTag()
           
protected  java.lang.Object getAttributeValue(AttributeKey key)
          Retrieves a generic attribute value.
protected  BoundValue getBoundAttributeValue(AttributeKey key)
          Retrieves a BoundValue attribute value.
protected  AttributeKey getExposeBeanWithKey()
          Returns the AttributeKey whose value will be used to expose the bean.
 java.lang.String getId()
           
protected  javax.servlet.jsp.PageContext getPageContext()
           
 javax.servlet.jsp.tagext.Tag getParent()
           
 MutableUINode getUINode()
          Returns the UINode being constructed.
protected static java.lang.Boolean parseBoolean(java.lang.String s)
          Parse a String into a Boolean.
protected static BoundValue parseBoundValue(java.lang.String s)
          Parse a string into a BoundValue.
protected  java.lang.Character parseChar(java.lang.String s)
          Parse a String into a Character.
protected static java.lang.Object parseDate(java.lang.String s)
          Parse a String into a Date.
protected static java.lang.Integer parseInt(java.lang.String s)
          Parse a String into an Integer.
protected static java.lang.Long parseLong(java.lang.String s)
          Parse a String into a Long.
protected static java.lang.String[] parseStringArray(java.lang.String s)
          Parse a String into a String array.
 void release()
           
protected  void setAttributeValue(AttributeKey key, java.lang.Object value)
          Store a generic attribute value.
protected  void setBoundAttributeValue(AttributeKey key, BoundValue value)
          Store a BoundValue attribute value.
 void setId(java.lang.String id)
           
 void setNodeID(java.lang.String nodeID)
          Set the node ID of the UINode.
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
           
 void setParent(javax.servlet.jsp.tagext.Tag parent)
           
protected  void setProperties(MutableUINode node)
          Hook that sets all the properties of the node; called from doStartTag().
 
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, setPageContext, setParent
 

Constructor Detail

BaseUINodeTag

protected BaseUINodeTag()
Method Detail

getUINode

public MutableUINode getUINode()
Returns the UINode being constructed. This value is only valid between doStartTag() and doEndTag()
Specified by:
getUINode in interface UINodeTag

addNode

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

setNodeID

public void setNodeID(java.lang.String nodeID)
Set the node ID of the UINode.

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class oracle.cabo.ui.jsps.tags.BaseTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class oracle.cabo.ui.jsps.tags.BaseTag

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class oracle.cabo.ui.jsps.tags.BaseTag

createUINode

protected abstract MutableUINode createUINode()
Override this method to create the UINode.

setProperties

protected void setProperties(MutableUINode node)
Hook that sets all the properties of the node; called from doStartTag().

setAttributeValue

protected void setAttributeValue(AttributeKey key,
                                 java.lang.Object value)
Store a generic attribute value.

setBoundAttributeValue

protected void setBoundAttributeValue(AttributeKey key,
                                      BoundValue value)
Store a BoundValue attribute value.

getAttributeValue

protected java.lang.Object getAttributeValue(AttributeKey key)
Retrieves a generic attribute value.

getBoundAttributeValue

protected BoundValue getBoundAttributeValue(AttributeKey key)
Retrieves a BoundValue attribute value.

getExposeBeanWithKey

protected AttributeKey getExposeBeanWithKey()
Returns the AttributeKey whose value will be used to expose the bean.

parseBoolean

protected static final java.lang.Boolean parseBoolean(java.lang.String s)
Parse a String into a Boolean.

parseInt

protected static final java.lang.Integer parseInt(java.lang.String s)
Parse a String into an Integer.

parseLong

protected static final java.lang.Long parseLong(java.lang.String s)
Parse a String into a Long.

parseChar

protected final java.lang.Character parseChar(java.lang.String s)
Parse a String into a Character.

parseStringArray

protected static final java.lang.String[] parseStringArray(java.lang.String s)
Parse a String into a String array.

parseDate

protected static final java.lang.Object parseDate(java.lang.String s)
Parse a String into a Date. This method returns an Object because it may return either a Date object or a String.

parseBoundValue

protected static final BoundValue parseBoundValue(java.lang.String s)
Parse a string into a BoundValue.

getParent

public javax.servlet.jsp.tagext.Tag getParent()
Specified by:
getParent in interface javax.servlet.jsp.tagext.Tag

setParent

public void setParent(javax.servlet.jsp.tagext.Tag parent)
Specified by:
setParent in interface javax.servlet.jsp.tagext.Tag

setId

public void setId(java.lang.String id)

getId

public java.lang.String getId()

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)
Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag

getPageContext

protected javax.servlet.jsp.PageContext getPageContext()