org.apache.myfaces.trinidadinternal.ui.collection
Class UnmodifiableCompoundNodeList

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.ui.collection.UnmodifiableCompoundNodeList
All Implemented Interfaces:
java.lang.Cloneable, UINodeList

public class UnmodifiableCompoundNodeList
extends java.lang.Object
implements UINodeList

Unmodifiable UINodeList that merges the results of two other node lists.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/collection/UnmodifiableCompoundNodeList.java#0 $) $Date: 10-nov-2005.18:57:38 $
Author:
The Oracle ADF Faces Team

Constructor Summary
UnmodifiableCompoundNodeList(UINodeList first, UINodeList second)
           
 
Method Summary
 void addUINode(int index, UINode node)
          Inserts the spacified UINode into the UINodeList at the specified index
 void addUINode(UINode node)
          Appends the specified UINode to the end of the UINodeList.
 void clearUINodes()
          Removes all of the UINodes from the UINodeList.
 java.lang.Object clone()
          Clones the UINodeList
 UINode getUINode(UIXRenderingContext context, int index)
          Returns the UINode at the specifed index in the UINodeList, given the specified RenderingContext.
 UINode removeUINode(int index)
          Removes and returns UINode at the specifed index.
 UINode setUINode(int index, UINode node)
          Replaces the UINode at the specified index with the new UINode value, returning the old value.
 int size(UIXRenderingContext context)
          Returns the number of elements in the UINodeList given the specified RenderingContext.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmodifiableCompoundNodeList

public UnmodifiableCompoundNodeList(UINodeList first,
                                    UINodeList second)
Method Detail

size

public int size(UIXRenderingContext context)
Description copied from interface: UINodeList
Returns the number of elements in the UINodeList given the specified RenderingContext.

Specified by:
size in interface UINodeList

getUINode

public UINode getUINode(UIXRenderingContext context,
                        int index)
Description copied from interface: UINodeList
Returns the UINode at the specifed index in the UINodeList, given the specified RenderingContext.

Specified by:
getUINode in interface UINodeList

setUINode

public UINode setUINode(int index,
                        UINode node)
Description copied from interface: UINodeList
Replaces the UINode at the specified index with the new UINode value, returning the old value.

Specified by:
setUINode in interface UINodeList

addUINode

public void addUINode(int index,
                      UINode node)
Description copied from interface: UINodeList
Inserts the spacified UINode into the UINodeList at the specified index

Specified by:
addUINode in interface UINodeList

addUINode

public void addUINode(UINode node)
Description copied from interface: UINodeList
Appends the specified UINode to the end of the UINodeList.

Specified by:
addUINode in interface UINodeList

removeUINode

public UINode removeUINode(int index)
Description copied from interface: UINodeList
Removes and returns UINode at the specifed index.

Specified by:
removeUINode in interface UINodeList

clearUINodes

public void clearUINodes()
Description copied from interface: UINodeList
Removes all of the UINodes from the UINodeList.

Specified by:
clearUINodes in interface UINodeList

clone

public java.lang.Object clone()
Description copied from interface: UINodeList
Clones the UINodeList

Specified by:
clone in interface UINodeList
Overrides:
clone in class java.lang.Object


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.