NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sdp.fields
Class SDPObjectList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.AbstractSequentialList
              extended byjava.util.LinkedList
                  extended bygov.nist.core.GenericObjectList
                      extended bygov.nist.javax.sdp.fields.SDPObjectList
All Implemented Interfaces:
Cloneable, Collection, List, Serializable

public class SDPObjectList
extends gov.nist.core.GenericObjectList

See Also:
Serialized Form

Constructor Summary
SDPObjectList()
           
SDPObjectList(String lname)
           
SDPObjectList(String lname, String classname)
          Get the input text of the sdp object (from which the object was generated).
 
Method Summary
 void add(SDPObject s)
          Add an sdp object to this list.
 String encode()
          Encode the list in semicolon separated form.
 gov.nist.core.GenericObject first()
           
 void mergeObjects(gov.nist.core.GenericObjectList mergeList)
          Do a merge of the GenericObjects contained in this list with the GenericObjects in the mergeList.
 gov.nist.core.GenericObject next()
           
 gov.nist.core.GenericObject next(ListIterator li)
           
 String toString()
          Alias for the encode function above.
 
Methods inherited from class gov.nist.core.GenericObjectList
addFirst, clone, debugDump, debugDump, equals, getMyClass, isMySubclass, match, setMyClass, setSeparator
 
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray
 
Methods inherited from class java.util.AbstractSequentialList
iterator
 
Methods inherited from class java.util.AbstractList
hashCode, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

SDPObjectList

public SDPObjectList(String lname,
                     String classname)
Get the input text of the sdp object (from which the object was generated).


SDPObjectList

public SDPObjectList()

SDPObjectList

public SDPObjectList(String lname)
Method Detail

mergeObjects

public void mergeObjects(gov.nist.core.GenericObjectList mergeList)
Do a merge of the GenericObjects contained in this list with the GenericObjects in the mergeList. Note that this does an inplace modification of the given list. This does an object by object merge of the given objects.

Parameters:
mergeList - is the list of Generic objects that we want to do an object by object merge with. Note that no new objects are added to this list.

add

public void add(SDPObject s)
Add an sdp object to this list.


first

public gov.nist.core.GenericObject first()

next

public gov.nist.core.GenericObject next()

next

public gov.nist.core.GenericObject next(ListIterator li)

encode

public String encode()
Description copied from class: gov.nist.core.GenericObjectList
Encode the list in semicolon separated form.

Returns:
an encoded string containing the objects in this list.

toString

public String toString()
Description copied from class: gov.nist.core.GenericObjectList
Alias for the encode function above.


NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.