de.knipp.rritoolkit.message
Class AuthInfoExpireMessage

java.lang.Object
  extended by de.knipp.rritoolkit.message.Message
      extended by de.knipp.rritoolkit.message.AuthInfoExpireMessage
All Implemented Interfaces:
java.io.Serializable

public class AuthInfoExpireMessage
extends Message

class that represents the AuthInfo expire message

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.util.Date expireDate
          the expire message
 
Constructor Summary
AuthInfoExpireMessage()
           
 
Method Summary
 void accept(MessageVisitor visitor)
          call the suitable method of the given visitor
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.util.Date getExpireDate()
          return the AuthInfo expire date
 java.lang.String toString()
          return a string representation for debugging purposes
 
Methods inherited from class de.knipp.rritoolkit.message.Message
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


expireDate

private java.util.Date expireDate
the expire message

Constructor Detail

AuthInfoExpireMessage

public AuthInfoExpireMessage()
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.

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

accept

public void accept(MessageVisitor visitor)
call the suitable method of the given visitor

Specified by:
accept in class Message
Parameters:
visitor - the visitor

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

getExpireDate

public java.util.Date getExpireDate()
return the AuthInfo expire date

Returns:
the expire date


Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH