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, STARmodCount| 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, setMyClassadd, 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, toArrayiteratorlistIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, isEmpty, iterator, listIterator, removeAll, retainAll, subListprotected 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 GenericObjectListmergeList - 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()
GenericObjectListfirst in class GenericObjectListpublic GenericObject next()
GenericObjectListnext in class GenericObjectListpublic String encode()
GenericObjectListencode in class GenericObjectListpublic String toString()
GenericObjectListtoString in class GenericObjectListCopyright © 2018. All Rights Reserved.