|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.uinode.UIComponentUINode
org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode
public class UIXComponentUINode
Subclass for UIX components.
Constructor Summary | |
---|---|
UIXComponentUINode(org.apache.myfaces.trinidad.component.UIXComponent component,
java.lang.String namespace,
AttributeMap attributes)
|
Method Summary | |
---|---|
protected AttributeMap |
getAttributeMap(boolean createIfNull)
Returns the AttributeMap used to store attributes. |
java.util.Iterator<AttributeKey> |
getAttributeNames(UIXRenderingContext context)
Returns an Iterator of the names that attribute values have been added under. |
java.lang.Object |
getAttributeValue(UIXRenderingContext context,
AttributeKey attrKey)
Returns the value of the attribute with the specified name in the RenderingContext. |
protected java.lang.Object |
getAttributeValueImpl(UIXRenderingContext context,
AttributeKey attrKey,
boolean returnBoundValue)
Bottleneck method for all attribute getting. |
NodeRole |
getNodeRole(UIXRenderingContext context)
Returns the role that this node occupies. |
java.lang.Object |
getRawAttributeValue(UIXRenderingContext 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. |
protected Renderer |
getRenderer(UIXRenderingContext context,
UINode dataNode)
|
void |
postrenderInternal(UIXRenderingContext context,
UINode dataNode)
|
void |
prerenderInternal(UIXRenderingContext context,
UINode dataNode)
|
void |
renderInternal(UIXRenderingContext context,
UINode dataNode)
|
void |
setAttributeValue(AttributeKey attrKey,
java.lang.Object value)
|
Methods inherited from class org.apache.myfaces.trinidadinternal.uinode.UIComponentUINode |
---|
getAttributeValue, getChildNames, getChildNames, getID, getIndexedChild, getIndexedChild, getIndexedChildCount, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getUIComponent, render, render, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UIXComponentUINode(org.apache.myfaces.trinidad.component.UIXComponent component, java.lang.String namespace, AttributeMap attributes)
Method Detail |
---|
public NodeRole getNodeRole(UIXRenderingContext context)
getNodeRole
in interface UINode
getNodeRole
in class UIComponentUINode
public java.util.Iterator<AttributeKey> getAttributeNames(UIXRenderingContext context)
UINode
getAttributeValue
.
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 UINode
getAttributeNames
in class UIComponentUINode
UINode.getAttributeValue(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext, org.apache.myfaces.trinidadinternal.ui.AttributeKey)
public void setAttributeValue(AttributeKey attrKey, java.lang.Object value)
setAttributeValue
in class UIComponentUINode
public java.lang.Object getAttributeValue(UIXRenderingContext context, AttributeKey attrKey)
null
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 UINode
getAttributeValue
in class UIComponentUINode
getAttributeNames(org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext)
public java.lang.Object getRawAttributeValue(UIXRenderingContext context, AttributeKey attrKey)
getRawAttributeValue
in interface UINode
getRawAttributeValue
in class UIComponentUINode
BoundValue
public void renderInternal(UIXRenderingContext context, UINode dataNode) throws java.io.IOException
java.io.IOException
public void prerenderInternal(UIXRenderingContext context, UINode dataNode) throws java.io.IOException
java.io.IOException
public void postrenderInternal(UIXRenderingContext context, UINode dataNode) throws java.io.IOException
java.io.IOException
protected Renderer getRenderer(UIXRenderingContext context, UINode dataNode)
protected java.lang.Object getAttributeValueImpl(UIXRenderingContext context, AttributeKey attrKey, boolean returnBoundValue)
protected final AttributeMap getAttributeMap(boolean createIfNull)
createIfNull
- if true, creates
an AttributeMap object if one has not yet been created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |