de.knipp.rritoolkit.message
Class ChangeProvMessageBase

java.lang.Object
  extended by de.knipp.rritoolkit.message.Message
      extended by de.knipp.rritoolkit.message.ChangeProvMessageBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChangeProvAuthInfoMessage

public abstract class ChangeProvMessageBase
extends Message

base class for both the messages related to the old provider change process and related to the new AuthInfo based mechanism

Version:
$Revision: 14936 $
Author:
Klaus Malorny
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class de.knipp.rritoolkit.message.Message
Message.Type
 
Field Summary
private  java.lang.String domainName
          the domain name
private  java.lang.String encodedDomainName
          the encoded domain name
private  java.lang.String newProvider
          the new (gaining) provider
private  java.lang.String oldProvider
          the old (losing) provider
 
Constructor Summary
ChangeProvMessageBase()
           
 
Method Summary
protected  void dataFromList(KVList list)
          setup the object's data from the given list.
protected  void dataFromXml(org.w3c.dom.Element el)
          setup the object's data from the given XML element.
 java.lang.String getDomainName()
          return the domain name
 java.lang.String getEncodedDomainName()
          return the encoded domain name
 java.lang.String getNewProvider()
          return the designated new provider
 java.lang.String getOldProvider()
          return the old/current provider
 java.lang.String toString()
          return a string representation for debugging purposes
 
Methods inherited from class de.knipp.rritoolkit.message.Message
accept, createMessage, fromList, fromXml, getCreationDate, getMessageID, getType, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

domainName

private java.lang.String domainName
the domain name


encodedDomainName

private java.lang.String encodedDomainName
the encoded domain name


newProvider

private java.lang.String newProvider
the new (gaining) provider


oldProvider

private java.lang.String oldProvider
the old (losing) provider

Constructor Detail

ChangeProvMessageBase

public ChangeProvMessageBase()
Method Detail

dataFromXml

protected void dataFromXml(org.w3c.dom.Element el)
                    throws org.w3c.dom.DOMException,
                           ResponseParseException
setup the object's data from the given XML element.

Specified by:
dataFromXml in class Message
Parameters:
el - the element
Throws:
org.w3c.dom.DOMException - on DOM exceptions
ResponseParseException - if the data was not recognized

dataFromList

protected void dataFromList(KVList list)
                     throws ResponseParseException
setup the object's data from the given list. Subclasses should override this method and call the superclass first.

Specified by:
dataFromList in class Message
Parameters:
list - the list
Throws:
ResponseParseException - if the list does not contain the expected content

toString

public java.lang.String toString()
return a string representation for debugging purposes

Overrides:
toString in class Message
Returns:
the string representation

getDomainName

public java.lang.String getDomainName()
return the domain name

Returns:
the domain name

getEncodedDomainName

public java.lang.String getEncodedDomainName()
return the encoded domain name

Returns:
the encoded domain name

getNewProvider

public java.lang.String getNewProvider()
return the designated new provider

Returns:
the new provider

getOldProvider

public java.lang.String getOldProvider()
return the old/current provider

Returns:
the old provider


Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH