|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.DeprecatedUINode | +--oracle.cabo.ui.AbstractTextNode
Abstract Node implementation for text.
Constructor Summary | |
protected |
AbstractTextNode()
|
protected |
AbstractTextNode(java.lang.String nodeID)
|
Method Summary | |
int |
getAttributeCount(RenderingContext context)
Returns 1. |
java.util.Enumeration |
getAttributeNames(RenderingContext context)
Returns an Enumeration of the names that attribute values have been added under; always returns an enumeration containing only TEXT_ATTR. |
java.lang.Object |
getAttributeValue(RenderingContext context,
AttributeKey attrKey)
Returns the value of an attribute, given its name. |
java.util.Enumeration |
getChildNames(RenderingContext context)
Returns null. |
UINode |
getIndexedChild(RenderingContext context,
int index)
Returns the indexed child at this index; since TextNodes contain no children, always throws an exception. |
int |
getIndexedChildCount(RenderingContext context)
Returns the number of indexed children; since TextNodes contain no children, always returns 0 |
java.lang.String |
getLocalName()
Returns "text". |
UINode |
getNamedChild(RenderingContext context,
java.lang.String childName)
Returns null. |
java.lang.String |
getNamespaceURI()
Returns the UIX Components (Marlin) namespace. |
java.lang.String |
getNodeID()
Returns an ID indentifying this UINode instance. |
NodeRole |
getNodeRole(RenderingContext context)
Returns the role that this node occupies. |
java.lang.Object |
getRawAttributeValue(RenderingContext context,
AttributeKey attrKey)
Returns the value of the attribute with a specified name, without attempting to further resolve that value - as if , for instance, it might be a BoundValue. |
char[] |
getText(RenderingContext context)
Convenience method returning any text contained in this node as a char[] , regardless of how the text is actually stored in
the node. |
protected abstract java.lang.Object |
getTextObject(RenderingContext context)
Returns the text for the current rendering context. |
void |
render(RenderingContext context)
Renders this UINode. |
void |
render(RenderingContext context,
UINode node)
|
Methods inherited from class oracle.cabo.ui.DeprecatedUINode |
getAttributeValue, getChildNames, getID, getIndexedChild, getIndexedChildCount, getNamedChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractTextNode()
protected AbstractTextNode(java.lang.String nodeID)
Method Detail |
public java.lang.String getNodeID()
This ID should not be confused with the ID_ATTR
attribute,
which is output to the client and is typically used in
conjunction with client-side scripting technologies, such as JavaScript.
public final char[] getText(RenderingContext context)
char[]
, regardless of how the text is actually stored in
the node.public java.lang.String getNamespaceURI()
oracle.cabo.ui.UINode
UINode.getLocalName()
,
RendererManager
,
RendererFactory
public java.lang.String getLocalName()
public int getIndexedChildCount(RenderingContext context)
oracle.cabo.ui.UINode
UINode.getIndexedChild(oracle.cabo.ui.RenderingContext, int)
public UINode getIndexedChild(RenderingContext context, int index)
oracle.cabo.ui.UINode
UINode.getIndexedChildCount(oracle.cabo.ui.RenderingContext)
public int getAttributeCount(RenderingContext context)
public java.util.Enumeration getAttributeNames(RenderingContext context)
oracle.cabo.ui.UINode
UINode.getAttributeValue(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.AttributeKey)
public UINode getNamedChild(RenderingContext context, java.lang.String childName)
oracle.cabo.ui.UINode
UINode.getChildNames(oracle.cabo.ui.RenderingContext)
,
UIConstants
public java.util.Enumeration getChildNames(RenderingContext context)
oracle.cabo.ui.UINode
UINode.getNamedChild(oracle.cabo.ui.RenderingContext, java.lang.String)
public java.lang.Object getAttributeValue(RenderingContext context, AttributeKey attrKey)
UIConstants.TEXT_ATTR
.oracle.cabo.ui.UINode
UINode.getAttributeNames(oracle.cabo.ui.RenderingContext)
public java.lang.Object getRawAttributeValue(RenderingContext context, AttributeKey attrKey)
UINode
oracle.cabo.ui.UINode
BoundValue
public final void render(RenderingContext context) throws java.io.IOException
public void render(RenderingContext context, UINode node) throws java.io.IOException
public NodeRole getNodeRole(RenderingContext context)
UINode
protected abstract java.lang.Object getTextObject(RenderingContext context)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |