Package org.xbill.DNS

Class APLRecord

java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.APLRecord
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class APLRecord extends Record
APL - Address Prefix List.
Author:
Brian Wellington
See Also:
  • Constructor Details

    • APLRecord

      public APLRecord(Name name, int dclass, long ttl, List<APLRecord.Element> elements)
      Creates an APL Record from the given data.
      Parameters:
      elements - The list of APL elements.
  • Method Details

    • rrFromWire

      protected void rrFromWire(DNSInput in) throws IOException
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden
      Specified by:
      rrFromWire in class Record
      Throws:
      IOException
    • rdataFromString

      protected void rdataFromString(Tokenizer st, Name origin) throws IOException
      Description copied from class: Record
      Converts the text format of an RR to the internal format - must be overriden
      Specified by:
      rdataFromString in class Record
      Throws:
      IOException
    • rrToString

      protected String rrToString()
      Description copied from class: Record
      Converts the type-specific RR to text format - must be overridden.
      Specified by:
      rrToString in class Record
    • getElements

      public List<APLRecord.Element> getElements()
      Returns the list of APL elements.
    • rrToWire

      protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
      Description copied from class: Record
      Converts the type-specific RR to wire format - must be overridden.
      Specified by:
      rrToWire in class Record