de.knipp.rritoolkit.dns
Class DnsEntryAAAA

java.lang.Object
  extended by de.knipp.rritoolkit.dns.DnsEntry
      extended by de.knipp.rritoolkit.dns.DnsEntryAddress
          extended by de.knipp.rritoolkit.dns.DnsEntryAAAA
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DnsEntryAAAA
extends DnsEntryAddress

the record describes an "AAAA" record in the domain.

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

Constructor Summary
protected DnsEntryAAAA(org.w3c.dom.Element el)
          constructor
  DnsEntryAAAA(java.lang.String owner, java.lang.String address)
          constructor
 
Method Summary
 void accept(DnsEntryVisitor visitor)
          accept the given visitor
 DnsEntryAAAA clone()
          create a clone of this instance.
protected  java.lang.String getElementName()
          return the (local) element name
protected  java.lang.String getRecordName()
          return the record name
 
Methods inherited from class de.knipp.rritoolkit.dns.DnsEntryAddress
createAddressEntry, getAddress, toList, toString, toXml
 
Methods inherited from class de.knipp.rritoolkit.dns.DnsEntry
allFromList, fromXml, getOwner, isIPv6, setOwner
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DnsEntryAAAA

public DnsEntryAAAA(java.lang.String owner,
                    java.lang.String address)
constructor

Parameters:
owner - the owner
address - the address

DnsEntryAAAA

protected DnsEntryAAAA(org.w3c.dom.Element el)
                throws org.w3c.dom.DOMException,
                       ResponseParseException
constructor

Parameters:
el - the element
Throws:
org.w3c.dom.DOMException - on DOM exceptions
ResponseParseException - on wrong content
Method Detail

accept

public void accept(DnsEntryVisitor visitor)
accept the given visitor

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

clone

public DnsEntryAAAA clone()
create a clone of this instance.

Overrides:
clone in class DnsEntry
Returns:
the clone

getRecordName

protected java.lang.String getRecordName()
return the record name

Specified by:
getRecordName in class DnsEntryAddress
Returns:
the record name

getElementName

protected java.lang.String getElementName()
return the (local) element name

Specified by:
getElementName in class DnsEntryAddress
Returns:
the element name


Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH