public abstract class SDPFieldList extends SDPField
Modifier and Type | Field and Description |
---|---|
protected SDPObjectList |
sdpFields |
CORE_PACKAGE, SDPFIELDS_PACKAGE
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation
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 and Description |
---|
SDPFieldList() |
SDPFieldList(String fieldName) |
SDPFieldList(String fieldName,
String classname) |
Modifier and Type | Method and Description |
---|---|
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.
|
getFieldName, getTypeChar
dbgPrint, getStringRepresentation, initSprint, sprint
dbgPrint, dbgPrint, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
protected SDPObjectList sdpFields
public SDPFieldList()
public SDPFieldList(String fieldName)
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()
public String debugDump(int indentation)
debugDump
in class GenericObject
indentation
- int to setpublic String debugDump()
public String toString()
public boolean equals(Object other)
public boolean match(Object template)
public Object clone()
GenericObject
clone
in class GenericObject
Copyright © 2016. All Rights Reserved.