|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.ui.AbstractTextNode
@Deprecated public abstract class AbstractTextNode
Abstract Node implementation for text.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
AbstractTextNode()
Deprecated. |
| Method Summary | |
|---|---|
int |
getAttributeCount(UIXRenderingContext context)
Deprecated. Returns 1. |
java.util.Iterator<AttributeKey> |
getAttributeNames(UIXRenderingContext context)
Deprecated. Returns an Iterator of the names that attribute values have been added under; always returns an enumeration containing only TEXT_ATTR. |
java.lang.Object |
getAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
Deprecated. Returns the value of an attribute, given its name. |
java.util.Iterator<java.lang.String> |
getChildNames(UIXRenderingContext context)
Deprecated. Returns null. |
UINode |
getIndexedChild(UIXRenderingContext context,
int index)
Deprecated. Returns the indexed child at this index; since TextNodes contain no children, always throws an exception. |
int |
getIndexedChildCount(UIXRenderingContext context)
Deprecated. Returns the number of indexed children; since TextNodes contain no children, always returns 0 |
java.lang.String |
getLocalName()
Deprecated. Returns "text". |
UINode |
getNamedChild(UIXRenderingContext context,
java.lang.String childName)
Deprecated. Returns null. |
java.lang.String |
getNamespaceURI()
Deprecated. Returns the UIX Components namespace. |
NodeRole |
getNodeRole(UIXRenderingContext context)
Deprecated. Returns the role that this node occupies. |
java.lang.Object |
getRawAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
Deprecated. 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(UIXRenderingContext context)
Deprecated. 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(UIXRenderingContext context)
Deprecated. Returns the text for the current rendering context. |
javax.faces.component.UIComponent |
getUIComponent()
Deprecated. Returns the UIComponent that this node represents, or null if it is not attached to a UIComponent. |
void |
render(UIXRenderingContext context)
Deprecated. Renders this UINode. |
void |
render(UIXRenderingContext context,
UINode node)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractTextNode()
| Method Detail |
|---|
public javax.faces.component.UIComponent getUIComponent()
UINode
getUIComponent in interface UINodepublic final char[] getText(UIXRenderingContext context)
char[], regardless of how the text is actually stored in
the node.
public java.lang.String getNamespaceURI()
getNamespaceURI in interface UINodeUINode.getLocalName(),
RendererManager,
RendererFactorypublic java.lang.String getLocalName()
getLocalName in interface UINodepublic int getIndexedChildCount(UIXRenderingContext context)
getIndexedChildCount in interface UINodeUINode.getIndexedChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, int)
public UINode getIndexedChild(UIXRenderingContext context,
int index)
getIndexedChild in interface UINodeUINode.getIndexedChildCount(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)public int getAttributeCount(UIXRenderingContext context)
public java.util.Iterator<AttributeKey> getAttributeNames(UIXRenderingContext context)
getAttributeNames in interface UINodeUINode.getAttributeValue(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.AttributeKey)
public UINode getNamedChild(UIXRenderingContext context,
java.lang.String childName)
getNamedChild in interface UINodeUINode.getChildNames(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext),
UIConstantspublic java.util.Iterator<java.lang.String> getChildNames(UIXRenderingContext context)
getChildNames in interface UINodeUINode.getNamedChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, java.lang.String)
public java.lang.Object getAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
UIConstants.TEXT_ATTR.
getAttributeValue in interface UINodeUINode.getAttributeNames(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)
public java.lang.Object getRawAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
UINode
getRawAttributeValue in interface UINodeBoundValue
public final void render(UIXRenderingContext context)
throws java.io.IOException
render in interface UINodejava.io.IOException
public void render(UIXRenderingContext context,
UINode node)
throws java.io.IOException
render in interface UINodejava.io.IOExceptionpublic NodeRole getNodeRole(UIXRenderingContext context)
UINode
getNodeRole in interface UINodeprotected abstract java.lang.Object getTextObject(UIXRenderingContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||