|
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
public abstract class SDPObject
Root class for everything in this package.
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 | |
---|---|
SDPObject()
|
Method Summary | |
---|---|
String |
dbgPrint(int indent)
Formatter with a given starting indentation. |
String |
debugDump()
Generic introspection based printing funciton for this package. |
abstract String |
encode()
Get the string encoded version of this object |
boolean |
equals(Object that)
An introspection based equality predicate for SDPObjects. |
boolean |
match(Object other)
An introspection based predicate matching using a template object. |
String |
toString()
|
Methods inherited from class gov.nist.core.GenericObject |
---|
clone, debugDump, encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SDPObject()
Method Detail |
---|
public abstract String encode()
gov.nist.core.GenericObject
encode
in class gov.nist.core.GenericObject
public String toString()
toString
in class Object
public boolean equals(Object that)
equals
in class gov.nist.core.GenericObject
that
- is the other object to test against.
public String debugDump()
debugDump
in class gov.nist.core.GenericObject
public boolean match(Object other)
match
in class gov.nist.core.GenericObject
other
- the match pattern to test against. The match object
has to be of the same type (class). Primitive types
and non-sip fields that are non null are matched for equality.
Null in any field matches anything. Some book-keeping fields
are ignored when making the comparison.public String dbgPrint(int indent)
|
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 |