gov.nist.javax.sip.message
Class MessageObject

java.lang.Object
  extended by gov.nist.core.GenericObject
      extended by gov.nist.javax.sip.message.MessageObject
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
SIPMessage

public abstract class MessageObject
extends GenericObject

This is the root object from which all other objects in this package are derived. This class is never directly instantiated (and hence it is abstract).

Since:
1.1
Version:
1.2 $Revision: 1.7 $ $Date: 2009-07-17 18:57:54 $
Author:
M. Ranganathan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nist.core.GenericObject
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
 
Constructor Summary
protected MessageObject()
           
 
Method Summary
 void dbgPrint()
          Debug printing function.
 String dbgPrint(int indent)
          Formatter with a given starting indentation (for nested structs).
 String debugDump()
          An introspection based string formatting method.
abstract  String encode()
          Get the string encoded version of this object
 
Methods inherited from class gov.nist.core.GenericObject
clone, dbgPrint, debugDump, encode, equals, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, match, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageObject

protected MessageObject()
Method Detail

encode

public abstract String encode()
Description copied from class: GenericObject
Get the string encoded version of this object

Specified by:
encode in class GenericObject

dbgPrint

public void dbgPrint()
Description copied from class: GenericObject
Debug printing function.

Overrides:
dbgPrint in class GenericObject

debugDump

public String debugDump()
An introspection based string formatting method. We need this because in this package (although it is an exact duplicate of the one in the superclass) because it needs to access the protected members of the other objects in this class.

Overrides:
debugDump in class GenericObject

dbgPrint

public String dbgPrint(int indent)
Formatter with a given starting indentation (for nested structs).



Copyright © 2012. All Rights Reserved.