public class SDPObjectList extends GenericObjectList
Modifier and Type | Field and Description |
---|---|
protected static String |
SDPFIELDS_PACKAGE |
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, indentation, LESS_THAN, listName, LPAREN, myClass, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR
modCount
Constructor and Description |
---|
SDPObjectList() |
SDPObjectList(String lname) |
SDPObjectList(String lname,
String classname)
Get the input text of the sdp object (from which the object was
generated).
|
Modifier and Type | Method and Description |
---|---|
void |
add(SDPObject s)
Add an sdp object to this list.
|
String |
encode()
Encode the list in semicolon separated form.
|
GenericObject |
first()
This is the default list iterator.This will not handle nested list
traversal.
|
void |
mergeObjects(GenericObjectList mergeList)
Do a merge of the GenericObjects contained in this list with the
GenericObjects in the mergeList.
|
GenericObject |
next()
Fetch the next object from the list based on the default list iterator
|
String |
toString()
Alias for the encode function above.
|
addFirst, clone, concatenate, concatenate, debugDump, debugDump, equals, getIndentation, hashCode, isCloneable, isMySubclass, match, next, setMyClass
add, add, addAll, addAll, addLast, clear, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
iterator
listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, isEmpty, iterator, listIterator, removeAll, retainAll, subList
protected static final String SDPFIELDS_PACKAGE
public SDPObjectList(String lname, String classname)
public SDPObjectList()
public SDPObjectList(String lname)
public void mergeObjects(GenericObjectList mergeList)
mergeObjects
in class GenericObjectList
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.public void add(SDPObject s)
public GenericObject first()
GenericObjectList
first
in class GenericObjectList
public GenericObject next()
GenericObjectList
next
in class GenericObjectList
public String encode()
GenericObjectList
encode
in class GenericObjectList
public String toString()
GenericObjectList
toString
in class GenericObjectList
Copyright © 2018. All Rights Reserved.