|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.uinode.UIComponentUINode
@Deprecated public class UIComponentUINode
Implements UINode and setAttributeValue().
| Constructor Summary | |
|---|---|
protected |
UIComponentUINode(javax.faces.component.UIComponent component,
java.lang.String namespace)
Deprecated. |
| Method Summary | |
|---|---|
java.util.Iterator<AttributeKey> |
getAttributeNames(UIXRenderingContext context)
Deprecated. Returns an Iterator of the names that attribute values have been added under. |
java.lang.Object |
getAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
Deprecated. Returns the value of the attribute with the specified name in the RenderingContext. |
java.lang.Object |
getAttributeValue(UIXRenderingContext context,
java.lang.String name)
Deprecated. |
java.util.Iterator<java.lang.String> |
getChildNames()
Deprecated. |
java.util.Iterator<java.lang.String> |
getChildNames(UIXRenderingContext context)
Deprecated. Returns an Iterator of the names that named children have been added under. |
java.lang.String |
getID()
Deprecated. |
UINode |
getIndexedChild(int i)
Deprecated. |
UINode |
getIndexedChild(UIXRenderingContext context,
int childIndex)
Deprecated. Returns the indexed child at the specified index. |
int |
getIndexedChildCount()
Deprecated. |
int |
getIndexedChildCount(UIXRenderingContext context)
Deprecated. Returns the number of indexed children in this UINode. |
java.lang.String |
getLocalName()
Deprecated. Name used to distinguish the name of a UINode within a namespace. |
UINode |
getNamedChild(java.lang.String name)
Deprecated. |
UINode |
getNamedChild(UIXRenderingContext context,
java.lang.String childName)
Deprecated. Returns the child identified by childName. |
java.lang.String |
getNamespaceURI()
Deprecated. The name space URI that segregates the local name of this UINode so that nodes with the same local name will not clash. |
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. |
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. jmw for testing translation key map public void render(RenderingContext context) throws IOException { // get stack from request map Stack componentStack = (Stack)context.getFacesContext().getExternalContext(). |
void |
render(UIXRenderingContext context,
UINode dataNode)
Deprecated. |
void |
setAttributeValue(AttributeKey attrKey,
java.lang.Object value)
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected UIComponentUINode(javax.faces.component.UIComponent component,
java.lang.String namespace)
| Method Detail |
|---|
public javax.faces.component.UIComponent getUIComponent()
UINode
getUIComponent in interface UINodepublic java.lang.String getID()
public java.lang.String getNamespaceURI()
UINodeAny namespace String returned by this method should be interned for maximum performance. This allows namespace comparisons to be performed using object identity, versus the slower object equality. If the String returned is a String constant, the Java VM will have done this for you automatically.
As with all namespace URI's, this name is only used as an identifier. No other sematics are implied.
The RendererManager allows RendererFactorys to
be registered by namespace.
TO DO: put in link to XML namespaces
getNamespaceURI in interface UINodeUINode.getLocalName(),
RendererManager,
RendererFactorypublic java.lang.String getLocalName()
UINodeTogether with the UINode's namespace URI, the local name is typically used to determine which Renderer to use to render the UINode.
getLocalName in interface UINodepublic int getIndexedChildCount(UIXRenderingContext context)
UINodeIf the UINode is mutable and may be modified and read in different threads, it is the programmer's responsibility to ensure proper synchronization.
getIndexedChildCount in interface UINodeUINode.getIndexedChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, int)
public UINode getIndexedChild(UIXRenderingContext context,
int childIndex)
UINodeIf the UINode is mutable and may be modified and read in different threads, it is the programmer's responsibility to ensure proper synchronization.
getIndexedChild in interface UINodeUINode.getIndexedChildCount(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)
public UINode getNamedChild(UIXRenderingContext context,
java.lang.String childName)
UINode
Constants for named children used by UIX Components UINodes may be found in
the UIConstants interface. The constants for the named children follow
the pattern <xxx>_CHILD.
If the UINode is mutable and may be modified and read in different threads, it is the programmer's responsibility to ensure proper synchronization.
getNamedChild in interface UINodeUINode.getChildNames(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext),
UIConstantspublic java.util.Iterator<java.lang.String> getChildNames(UIXRenderingContext context)
UINodegetNamedChild.
If the UINode is mutable and may be modified and read in different threads, it is the programmer's responsibility to ensure proper synchronization.
getChildNames in interface UINodeUINode.getNamedChild(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, java.lang.String)public java.util.Iterator<AttributeKey> getAttributeNames(UIXRenderingContext context)
UINodegetAttributeValue.
If the UINode is mutable and may be modified and read in different threads, it is the programmer's responsibility to ensure proper synchronization.
getAttributeNames in interface UINodeUINode.getAttributeValue(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.AttributeKey)
public void setAttributeValue(AttributeKey attrKey,
java.lang.Object value)
public java.lang.Object getAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
UINodenull will be returned.
Note that as with indexed children and named children, the presence of of an attribute is no guarantee that the Renderer used to render this UINode will actually use the attribute. The presence of attributes should only be considered as hints to the Renderer.
If the UINode is mutable and may be modified and read in different threads, it is the programmer's responsibility to ensure proper synchronization.
getAttributeValue in interface UINodeUINode.getAttributeNames(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)
public java.lang.Object getRawAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
getRawAttributeValue in interface UINodeBoundValuepublic NodeRole getNodeRole(UIXRenderingContext context)
getNodeRole in interface UINode
public void render(UIXRenderingContext context)
throws java.io.IOException
render in interface UINodejava.io.IOException
public void render(UIXRenderingContext context,
UINode dataNode)
throws java.io.IOException
render in interface UINodejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getIndexedChildCount()
public UINode getIndexedChild(int i)
public java.util.Iterator<java.lang.String> getChildNames()
public UINode getNamedChild(java.lang.String name)
public java.lang.Object getAttributeValue(UIXRenderingContext context,
java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||