com.sapportals.wcm.util.uri
Class RidList
java.lang.Object
com.sapportals.wcm.util.uri.RidList
- All Implemented Interfaces:
- IRidList
- public class RidList
- extends Object
- implements IRidList
An RID list implementation.
Copyright (c) SAP AG 2001-2005
RidList
public RidList()
RidList
public RidList(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)
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(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
- Parameters:
rids - Exp.: "\wcm\a;\wcm\b;..."
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
contains
public boolean contains(RID rid)
- Specified by:
contains in interface IRidList
toString
public 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
getContainedList
protected List getContainedList()
sort
public void sort(Comparator comp)
- Specified by:
sort in interface IRidList
Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.