gov.nist.javax.sip.message
クラス MessageObject

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sip.message.MessageObject
すべての実装されたインタフェース:
java.io.Serializable
直系の既知のサブクラス:
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).

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:31 $
作成者:
M. Ranganathan
This code is in the public domain.
関連項目:
直列化された形式

メソッドの概要
 java.lang.Object clone()
          Generic clone method.
 void dbgPrint()
          Debug printing function.
 java.lang.String dbgPrint(int indent)
          Formatter with a given starting indentation (for nested structs).
 java.lang.String debugDump()
          An introspection based string formatting method.
abstract  java.lang.String encode()
          Get the string encoded version of this object
 void merge(java.lang.Object mergeObject)
          Recursively override the fields of this object with the fields of a new object.
 
クラス gov.nist.core.GenericObject から継承されたメソッド
debugDump, equals, getClassFromName, getMatcher, isMySubclass, match, replace, replace, replace, replace, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

encode

public abstract java.lang.String encode()
クラス GenericObject の記述:
Get the string encoded version of this object

定義:
クラス GenericObject 内の encode

dbgPrint

public void dbgPrint()
クラス GenericObject の記述:
Debug printing function.


debugDump

public java.lang.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.

オーバーライド:
クラス GenericObject 内の debugDump

clone

public java.lang.Object clone()
Generic clone method. This cannot be in the superclass because we need to access protected fields.

オーバーライド:
クラス GenericObject 内の clone

merge

public void merge(java.lang.Object mergeObject)
Recursively override the fields of this object with the fields of a new object. This is useful when you want to genrate a template and override the fields of an incoming SIPMessage with another SIP message that you have already generated.

オーバーライド:
クラス GenericObject 内の merge
パラメータ:
mergeObject - is the replacement object. The override obect must be of the same class as this object. Set any fields that you do not want to override as null in the mergeOject object.

dbgPrint

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