|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.sdp.GenericObject
org.lastbamboo.common.sdp.fields.SDPObject
org.lastbamboo.common.sdp.fields.SDPField
org.lastbamboo.common.sdp.fields.SDPFieldList
public abstract class SDPFieldList
A list of SDP Fields.
| Field Summary | |
|---|---|
protected SDPObjectList |
sdpFields
|
| Fields inherited from class org.lastbamboo.common.sdp.fields.SDPField |
|---|
fieldName |
| Fields inherited from class org.lastbamboo.common.sdp.GenericObject |
|---|
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, immutableClassNames, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation |
| Fields inherited from interface org.lastbamboo.common.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,
Class clazz)
|
|
| 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 org.lastbamboo.common.sdp.fields.SDPField |
|---|
getFieldName, getTypeChar |
| Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject |
|---|
dbgPrint, getStringRepresentation, initSprint, merge, replace, replace, replace, replace, sprint |
| Methods inherited from class org.lastbamboo.common.sdp.GenericObject |
|---|
Assert, dbgPrint, dbgPrint, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SDPObjectList sdpFields
| Constructor Detail |
|---|
public SDPFieldList()
public SDPFieldList(String fieldName)
public SDPFieldList(String fieldName,
Class clazz)
| 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 SDPFieldpublic String debugDump(int indentation)
debugDump in class GenericObjectindentation - int to set
public String debugDump()
debugDump in class SDPObjectpublic String toString()
toString in class SDPFieldpublic boolean equals(Object other)
equals in class SDPObjectother - is the other object to compare ourselves against.
public boolean match(Object template)
match in class SDPObjecttemplate - is the template to match against.public Object clone()
GenericObject
clone in class GenericObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||