gov.nist.javax.sdp.fields
クラス 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
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.Queue

public class SDPObjectList
extends GenericObjectList

関連項目:
直列化された形式

コンストラクタの概要
SDPObjectList()
           
SDPObjectList(java.lang.String lname)
           
SDPObjectList(java.lang.String lname, java.lang.String classname)
          Get the input text of the sdp object (from which the object was generated).
 
メソッドの概要
 void add(SDPObject s)
          Add an sdp object to this list.
 java.lang.Object clone()
          Make a clone of this header list and return it.
 java.lang.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
 GenericObject next(java.util.ListIterator li)
          Traverse the list given a list iterator
 void replace(java.lang.String objectText, GenericObject replacementObject, boolean matchSubstring)
          Do a find and replace of objects in this list.
 void replace(java.lang.String objectText, GenericObjectList replacementObject, boolean matchSubstring)
          Do a find and replace of objects in this list.
 java.lang.String toString()
          Alias for the encode function above.
 
クラス gov.nist.core.GenericObjectList から継承されたメソッド
add, addFirst, debugDump, debugDump, equals, getIterator, getMyClass, isMySubclass, match, replace, replace, setMyClass, setSeparator
 
クラス java.util.LinkedList から継承されたメソッド
add, addAll, addAll, addLast, clear, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray
 
クラス java.util.AbstractSequentialList から継承されたメソッド
iterator
 
クラス java.util.AbstractList から継承されたメソッド
hashCode, listIterator, subList
 
クラス java.util.AbstractCollection から継承されたメソッド
containsAll, isEmpty, removeAll, retainAll
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 
インタフェース java.util.List から継承されたメソッド
containsAll, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList
 

コンストラクタの詳細

SDPObjectList

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


SDPObjectList

public SDPObjectList()

SDPObjectList

public SDPObjectList(java.lang.String lname)
メソッドの詳細

clone

public java.lang.Object clone()
Make a clone of this header list and return it. For any object in the list (like SIPHeaders) that are cloneable clone the object and add it to the returned List. Strings and wrappers of basic types are cloned by creating new objects. For other objects, if there is a clone method, then this is invoked and the cloned object appears in the result. Otherwise, this just copies the object reference over.

オーバーライド:
クラス GenericObjectList 内の clone
導入されたバージョン:
1.0

mergeObjects

public void mergeObjects(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.

オーバーライド:
クラス GenericObjectList 内の mergeObjects
パラメータ:
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 GenericObject first()
クラス GenericObjectList の記述:
This is the default list iterator.This will not handle nested list traversal.


next

public GenericObject next()
クラス GenericObjectList の記述:
Fetch the next object from the list based on the default list iterator


next

public GenericObject next(java.util.ListIterator li)
クラス GenericObjectList の記述:
Traverse the list given a list iterator


encode

public java.lang.String encode()
クラス GenericObjectList の記述:
Encode the list in semicolon separated form.

オーバーライド:
クラス GenericObjectList 内の encode
戻り値:
an encoded string containing the objects in this list.

toString

public java.lang.String toString()
クラス GenericObjectList の記述:
Alias for the encode function above.

オーバーライド:
クラス GenericObjectList 内の toString

replace

public void replace(java.lang.String objectText,
                    GenericObject replacementObject,
                    boolean matchSubstring)
             throws java.lang.IllegalArgumentException
Do a find and replace of objects in this list.

オーバーライド:
クラス GenericObjectList 内の replace
パラメータ:
objectText - text of the object to find.
replacementObject - object to replace the target with ( in case a target is found).
matchSubstring - boolean that indicates whether to flag a match when objectText is a substring of a candidate object's encoded text.
例外:
java.lang.IllegalArgumentException

replace

public void replace(java.lang.String objectText,
                    GenericObjectList replacementObject,
                    boolean matchSubstring)
             throws java.lang.IllegalArgumentException
Do a find and replace of objects in this list.

オーバーライド:
クラス GenericObjectList 内の replace
パラメータ:
objectText - text of the object to find.
replacementObject - object to replace the target with (in case a target is found).
matchSubstring - boolean that indicates whether to flag a match when objectText is a substring of a candidate object's encoded text.
例外:
java.lang.IllegalArgumentException
導入されたバージョン:
v1.0