RPRecord (dnsjava documentation)
Date: 2013-04-10

org.xbill.DNS

## Class RPRecord

- java.lang.Object
- - org.xbill.DNS.Record
  - - org.xbill.DNS.RPRecord

- All Implemented Interfaces:
    Serializable, Cloneable, Comparable

      public class RPRecord
      extends Record

  Responsible Person Record - lists the mail address of a responsible person and a domain where TXT records are available.
  Author:
    Tom Scola , Brian Wellington
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.xbill.DNS.Record

      `dclass, name, ttl, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RPRecord(Name name, int dclass, long ttl, Name mailbox, Name textDomain)` Creates an RP Record from the given data

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Name` | `getMailbox()` Gets the mailbox address of the RP Record
    `Name` | `getTextDomain()` Gets the text domain info of the RP Record

    - ### Methods inherited from class org.xbill.DNS.Record

      `byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RPRecord

          public RPRecord(Name name,
                  int dclass,
                  long ttl,
                  Name mailbox,
                  Name textDomain)

      Creates an RP Record from the given data
      Parameters:
        `mailbox` - The responsible person
        `textDomain` - The address where TXT records can be found

  - ### Method Detail

    - #### getMailbox

          public Name getMailbox()

      Gets the mailbox address of the RP Record

    - #### getTextDomain

          public Name getTextDomain()

      Gets the text domain info of the RP Record