|
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
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). |
abstract String |
encode()
Encode into canonical form. |
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, 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 abstract String encode()
public boolean equals(Object that)
that - is the other object to test against.
public boolean match(Object other)
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()
public String debugDump(int indent)
indent - int to set
public String toString()
|
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 | ||||||||||