|
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.sip.address.NetObject
public abstract class NetObject
Root object for all objects in this package.
Constructor Summary | |
---|---|
NetObject()
Default constructor |
Method Summary | |
---|---|
String |
debugDump()
An introspection based string formatting method. |
String |
debugDump(int indent)
Formatter with a given starting indentation (for nested structs). |
boolean |
equals(Object that)
An introspection based equality predicate for SIPObjects. |
boolean |
match(Object other)
An introspection based predicate matching using a template object. |
String |
toString()
Encode this to a string. |
Methods inherited from class gov.nist.core.GenericObject |
---|
clone, encode, encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NetObject()
Method Detail |
---|
public boolean equals(Object that)
equals
in class gov.nist.core.GenericObject
that
- is the other object to test against.
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 debugDump()
debugDump
in class gov.nist.core.GenericObject
public String debugDump(int indent)
debugDump
in class gov.nist.core.GenericObject
indent
- int to set
public String toString()
toString
in class Object
|
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 |