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

org.xbill.DNS

## Class APLRecord

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

- All Implemented Interfaces:
    Serializable, Cloneable, Comparable

      public class APLRecord
      extends Record

  APL - Address Prefix List. See RFC 3123.
  Author:
    Brian Wellington
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `APLRecord.Element`

  - ### Field Summary

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

      `dclass, name, ttl, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `APLRecord(Name name, int dclass, long ttl, List elements)` Creates an APL Record from the given data.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List` | `getElements()` Returns the list of APL elements.

    - ### 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

    - #### APLRecord

          public APLRecord(Name name,
                   int dclass,
                   long ttl,
                   List elements)

      Creates an APL Record from the given data.
      Parameters:
        `elements` - The list of APL elements.

  - ### Method Detail

    - #### getElements

          public List getElements()

      Returns the list of APL elements.