|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.SDPFieldList
public abstract class SDPFieldList
A list of SDP Fields.
Field Summary |
---|
Fields inherited from interface gov.nist.javax.sdp.fields.SDPFieldNames |
---|
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
Constructor Summary | |
---|---|
SDPFieldList()
|
|
SDPFieldList(String fieldName)
|
|
SDPFieldList(String fieldName,
String classname)
|
Method Summary | |
---|---|
void |
add(SDPField h)
add a SDP Field to the list of headers that we maintain. |
Object |
clone()
Clones this object. |
String |
debugDump()
convert to a string representation |
String |
debugDump(int indentation)
convert to a string representation (for printing). |
String |
encode()
Encode into a canonical string. |
boolean |
equals(Object other)
Equality checking predicate. |
SDPObject |
first()
|
ListIterator |
listIterator()
Return a list iterator for the embedded field list. |
boolean |
match(Object template)
Do a template match of fields. |
SDPObject |
next()
|
String |
toString()
Return a string representation. |
Methods inherited from class gov.nist.javax.sdp.fields.SDPField |
---|
getFieldName, getTypeChar |
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject |
---|
dbgPrint |
Methods inherited from class gov.nist.core.GenericObject |
---|
encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SDPFieldList()
public SDPFieldList(String fieldName)
public SDPFieldList(String fieldName, String classname)
Method Detail |
---|
public ListIterator listIterator()
public void add(SDPField h)
h
- is the sdp field to add to our list.public SDPObject first()
public SDPObject next()
public String encode()
encode
in class SDPField
public String debugDump(int indentation)
debugDump
in class gov.nist.core.GenericObject
indentation
- int to set
public String debugDump()
debugDump
in class SDPObject
public String toString()
toString
in class SDPField
public boolean equals(Object other)
equals
in class SDPObject
other
- is the other object to compare ourselves against.
public boolean match(Object template)
match
in class SDPObject
template
- is the template to match against.public Object clone()
gov.nist.core.GenericObject
clone
in class gov.nist.core.GenericObject
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |