gov.nist.javax.sdp.fields
Class SDPObjectList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
gov.nist.core.GenericObjectList
gov.nist.javax.sdp.fields.SDPObjectList
- All Implemented Interfaces:
- Cloneable, Collection, List, Serializable
- public class SDPObjectList
- extends gov.nist.core.GenericObjectList
- See Also:
- Serialized Form
|
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 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 |
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)
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.
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.