public abstract class DCEList
extends java.lang.Object
Base class for lists of objects that are DCE/RPC readable and/or writeable.
Modifier | Constructor and Description |
---|---|
protected |
DCEList()
Default constructor
|
protected |
DCEList(DCEBuffer buf)
Class constructor
|
protected |
DCEList(int infoLevel)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
addObject(java.lang.Object obj)
Add an object to the list
|
protected boolean |
containerIsValid()
Determine if the container is valid
|
java.lang.Object |
getElement(int idx)
Return an element from the list
|
int |
getInformationLevel()
Return the information level
|
java.util.List |
getList()
Return the object list
|
protected abstract DCEReadable |
getNewObject()
Get a new object for the list to fill in
|
int |
numberOfEntries()
Return the number of entries in the list
|
void |
readList(DCEBuffer buf)
Read a list of objects from the DCE buffer
|
protected void |
setInformationLevel(int infoLevel)
Set the information level
|
protected void |
setList(java.util.List list)
Set the object list
|
java.lang.String |
toString()
Return the list as a string
|
void |
writeList(DCEBuffer buf)
Write the list of objects to a DCE buffer
|
protected DCEList()
protected DCEList(int infoLevel)
infoLevel
- intprotected DCEList(DCEBuffer buf) throws DCEBufferException
buf
- DCEBufferDCEBufferException
public final int getInformationLevel()
public final int numberOfEntries()
public final java.util.List getList()
public final java.lang.Object getElement(int idx)
idx
- intprotected final boolean containerIsValid()
protected final void addObject(java.lang.Object obj)
obj
- Objectprotected final void setInformationLevel(int infoLevel)
infoLevel
- intprotected final void setList(java.util.List list)
list
- Listprotected abstract DCEReadable getNewObject()
public void readList(DCEBuffer buf) throws DCEBufferException
buf
- DCEBufferDCEBufferException
public final void writeList(DCEBuffer buf) throws DCEBufferException
buf
- DCEBufferDCEBufferException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.