SAP NetWeaver '04

com.sapportals.wcm.util.uri
Class RidList

[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.util.uri.RidList
All Implemented Interfaces:
IRidList

public class RidList
extends java.lang.Object
implements IRidList

An URL list implementation

Copyright (c) SAP AG 2001-2004


Fields inherited from interface com.sapportals.wcm.util.uri.IRidList
SEPARATOR
 
Constructor Summary
RidList()
           
RidList(RID[] rids)
           
RidList(RidList list)
           
RidList(java.lang.String rids)
          Creates a uri list from a string.
 
Method Summary
 void add(int index, RID rid)
           
 boolean add(RID rid)
           
 boolean addAll(IRidList list)
           
 boolean addAll(java.lang.String rids)
          Decodes uri list string and add them to the list.
 void addFirst(RID rid)
           
 void addLast(RID rid)
           
 RID get(int index)
           
protected  java.util.List getContainedList()
           
 boolean isEmpty()
           
 IRidIterator listIterator()
           
 IRidIterator listIterator(int index)
           
 RID remove(int index)
           
 RID set(int index, RID rid)
           
 int size()
           
 void sort(java.util.Comparator comp)
           
 java.lang.String toString()
          Encodes uri list as uri strings detached by a SEPARATOR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RidList

public RidList()

RidList

public RidList(java.lang.String rids)
Creates a uri list from a string. The string must be in an encoded format where each uri is detached by IRidList.SEPARATOR .

RidList

public RidList(RID[] rids)

RidList

public RidList(RidList list)
Method Detail

size

public int size()
Specified by:
size in interface IRidList

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface IRidList

add

public boolean add(RID rid)
Specified by:
add in interface IRidList

addAll

public boolean addAll(IRidList list)
Specified by:
addAll in interface IRidList

addAll

public boolean addAll(java.lang.String rids)
Description copied from interface: IRidList
Decodes uri list string and add them to the list. The string must have the format as described in method toString() .
Specified by:
addAll in interface IRidList
Following copied from interface: com.sapportals.wcm.util.uri.IRidList
Parameters:
uris - Exp.: "\wcm\a;\wcm\b;..."
Returns:
TBD: Description of the outgoing return value

get

public RID get(int index)
Specified by:
get in interface IRidList

set

public RID set(int index,
               RID rid)
Specified by:
set in interface IRidList

add

public void add(int index,
                RID rid)
Specified by:
add in interface IRidList

addLast

public void addLast(RID rid)
Specified by:
addLast in interface IRidList

addFirst

public void addFirst(RID rid)
Specified by:
addFirst in interface IRidList

remove

public RID remove(int index)
Specified by:
remove in interface IRidList

listIterator

public IRidIterator listIterator()
Specified by:
listIterator in interface IRidList

listIterator

public IRidIterator listIterator(int index)
Specified by:
listIterator in interface IRidList

toString

public java.lang.String toString()
Description copied from interface: IRidList
Encodes uri list as uri strings detached by a SEPARATOR. Example: "\wcm\a;\wcm\b;..."
Specified by:
toString in interface IRidList
Overrides:
toString in class java.lang.Object
Following copied from interface: com.sapportals.wcm.util.uri.IRidList
Returns:
TBD: Description of the outgoing return value

getContainedList

protected java.util.List getContainedList()

sort

public void sort(java.util.Comparator comp)
Specified by:
sort in interface IRidList

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.