org.apache.directory.server.dns.messages
Enum RecordType

java.lang.Object
  extended by java.lang.Enum<RecordType>
      extended by org.apache.directory.server.dns.messages.RecordType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RecordType>, EnumConverter<java.lang.Short>

public enum RecordType
extends java.lang.Enum<RecordType>
implements EnumConverter<java.lang.Short>

Version:
$Rev: 547524 $, $Date: 2007-06-15 06:42:26 +0200 (Fri, 15 Jun 2007) $
Author:
Apache Directory Project

Enum Constant Summary
A
          Host address
A6
          IPv6 address (experimental)
AAAA
          IPv6 address
AFSDB
          AFS cell database
ANY
          Request for all records
APL
          Address Prefix List
ATMA
          ATM address
AXFR
          Request for transfer of an entire zone
CERT
          Certificate
CNAME
          Canonical name for an alias
DNAME
          Non-terminal name redirection
DNSKEY
          DNSSEC Key
DS
          Delegation Signer
EID
          Endpoint identifier
GPOS
          Geographical position (withdrawn)
HINFO
          Host information
ISDN
          ISDN calling address
IXFR
          Incremental zone transfer
KEY
          Key
KX
          Key exchange
LOC
          Location
MAILA
          Request for mail agent resource records
MAILB
          Request for mailbox-related records
MB
          Mailbox domain name
MD
          Mail destination
MF
          Mail forwarder
MG
          Mail group member
MINFO
          Mailbox or mail list information
MR
          Mail rename domain name
MX
          Mail exchange
NAPTR
          Naming authority pointer
NIMLOC
          Nimrod locator
NS
          Authoritative name server
NSAP
          NSAP address
NSAP_PTR
          Reverse NSAP address (deprecated)
NSEC
          Next Secure Name
NULL
          Null resource record
NXT
          Next valid name in zone
OPT
          Options - contains EDNS metadata
PTR
          Domain name pointer
PX
          X.400 mail mapping
RP
          Responsible person
RRSIG
          Resource Record Signature
RT
          Router
SIG
          Signature
SOA
          Start of a zone of authority
SRV
          Server selection
SSHFP
          SSH Key Fingerprint
TKEY
          Transaction key - used to compute a shared secret or exchange a key
TSIG
          Transaction signature
TXT
          Text strings
WKS
          Well know service description
X25
          X.25 calling address
 
Method Summary
 java.lang.Short convert()
          Convert the enum to another type.
static RecordType convert(short value)
          Converts an ordinal value into a RecordType.
static boolean isResourceRecord(RecordType resourceType)
          Returns whether a given RecordType is a ResourceRecord.
static RecordType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RecordType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A

public static final RecordType A
Host address


NS

public static final RecordType NS
Authoritative name server


MD

public static final RecordType MD
Mail destination


MF

public static final RecordType MF
Mail forwarder


CNAME

public static final RecordType CNAME
Canonical name for an alias


SOA

public static final RecordType SOA
Start of a zone of authority


MB

public static final RecordType MB
Mailbox domain name


MG

public static final RecordType MG
Mail group member


MR

public static final RecordType MR
Mail rename domain name


NULL

public static final RecordType NULL
Null resource record


WKS

public static final RecordType WKS
Well know service description


PTR

public static final RecordType PTR
Domain name pointer


HINFO

public static final RecordType HINFO
Host information


MINFO

public static final RecordType MINFO
Mailbox or mail list information


MX

public static final RecordType MX
Mail exchange


TXT

public static final RecordType TXT
Text strings


RP

public static final RecordType RP
Responsible person


AFSDB

public static final RecordType AFSDB
AFS cell database


X25

public static final RecordType X25
X.25 calling address


ISDN

public static final RecordType ISDN
ISDN calling address


RT

public static final RecordType RT
Router


NSAP

public static final RecordType NSAP
NSAP address


NSAP_PTR

public static final RecordType NSAP_PTR
Reverse NSAP address (deprecated)


SIG

public static final RecordType SIG
Signature


KEY

public static final RecordType KEY
Key


PX

public static final RecordType PX
X.400 mail mapping


GPOS

public static final RecordType GPOS
Geographical position (withdrawn)


AAAA

public static final RecordType AAAA
IPv6 address


LOC

public static final RecordType LOC
Location


NXT

public static final RecordType NXT
Next valid name in zone


EID

public static final RecordType EID
Endpoint identifier


NIMLOC

public static final RecordType NIMLOC
Nimrod locator


SRV

public static final RecordType SRV
Server selection


ATMA

public static final RecordType ATMA
ATM address


NAPTR

public static final RecordType NAPTR
Naming authority pointer


KX

public static final RecordType KX
Key exchange


CERT

public static final RecordType CERT
Certificate


A6

public static final RecordType A6
IPv6 address (experimental)


DNAME

public static final RecordType DNAME
Non-terminal name redirection


OPT

public static final RecordType OPT
Options - contains EDNS metadata


APL

public static final RecordType APL
Address Prefix List


DS

public static final RecordType DS
Delegation Signer


SSHFP

public static final RecordType SSHFP
SSH Key Fingerprint


RRSIG

public static final RecordType RRSIG
Resource Record Signature


NSEC

public static final RecordType NSEC
Next Secure Name


DNSKEY

public static final RecordType DNSKEY
DNSSEC Key


TKEY

public static final RecordType TKEY
Transaction key - used to compute a shared secret or exchange a key


TSIG

public static final RecordType TSIG
Transaction signature


IXFR

public static final RecordType IXFR
Incremental zone transfer


AXFR

public static final RecordType AXFR
Request for transfer of an entire zone


MAILB

public static final RecordType MAILB
Request for mailbox-related records


MAILA

public static final RecordType MAILA
Request for mail agent resource records


ANY

public static final RecordType ANY
Request for all records

Method Detail

values

public static RecordType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RecordType c : RecordType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RecordType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

convert

public java.lang.Short convert()
Description copied from interface: EnumConverter
Convert the enum to another type.

Specified by:
convert in interface EnumConverter<java.lang.Short>
Returns:
The other type.

convert

public static RecordType convert(short value)
Converts an ordinal value into a RecordType.

Parameters:
value -
Returns:
The RecordType.

isResourceRecord

public static boolean isResourceRecord(RecordType resourceType)
Returns whether a given RecordType is a ResourceRecord.

Parameters:
resourceType -
Returns:
true of the RecordType is a ResourceRecord.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.