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

java.lang.Object
  extended by org.apache.directory.server.dns.messages.RecordType
All Implemented Interfaces:
java.lang.Comparable

public class RecordType
extends java.lang.Object
implements java.lang.Comparable


Field Summary
static RecordType A
          Enumeration elements are constructed once upon class loading.
static RecordType A6
           
static RecordType AAAA
           
static RecordType AFSDB
           
static RecordType ANY
           
static RecordType APL
           
static RecordType ATMA
           
static RecordType AXFR
           
static RecordType CERT
           
static RecordType CNAME
           
static RecordType DNAME
           
static RecordType DNSKEY
           
static RecordType DS
           
static RecordType EID
           
static RecordType GPOS
           
static RecordType HINFO
           
static RecordType ISDN
           
static RecordType IXFR
           
static RecordType KEY
           
static RecordType KX
           
static RecordType LOC
           
static RecordType MAILA
           
static RecordType MAILB
           
static RecordType MB
           
static RecordType MD
           
static RecordType MF
           
static RecordType MG
           
static RecordType MINFO
           
static RecordType MR
           
static RecordType MX
           
static RecordType NAPTR
           
static RecordType NIMLOC
           
static RecordType NS
           
static RecordType NSAP
           
static RecordType NSAP_PTR
           
static RecordType NSEC
           
static RecordType NULL
           
static RecordType NXT
           
static RecordType OPT
           
static RecordType PTR
           
static RecordType PX
           
static RecordType RP
           
static RecordType RRSIG
           
static RecordType RT
           
static RecordType SIG
           
static RecordType SOA
           
static RecordType SRV
           
static RecordType SSHFP
           
static RecordType TKEY
           
static RecordType TSIG
           
static RecordType TXT
           
static java.util.List VALUES
           
static RecordType WKS
           
static RecordType X25
           
 
Method Summary
 int compareTo(java.lang.Object that)
           
 java.lang.String getCode()
           
 int getOrdinal()
           
static RecordType getTypeByName(java.lang.String type)
           
static RecordType getTypeByOrdinal(int type)
           
static boolean isResourceRecord(RecordType resourceType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

A

public static final RecordType A
Enumeration elements are constructed once upon class loading. Order of appearance here determines the order of compareTo.


NS

public static final RecordType NS

MD

public static final RecordType MD

MF

public static final RecordType MF

CNAME

public static final RecordType CNAME

SOA

public static final RecordType SOA

MB

public static final RecordType MB

MG

public static final RecordType MG

MR

public static final RecordType MR

NULL

public static final RecordType NULL

WKS

public static final RecordType WKS

PTR

public static final RecordType PTR

HINFO

public static final RecordType HINFO

MINFO

public static final RecordType MINFO

MX

public static final RecordType MX

TXT

public static final RecordType TXT

RP

public static final RecordType RP

AFSDB

public static final RecordType AFSDB

X25

public static final RecordType X25

ISDN

public static final RecordType ISDN

RT

public static final RecordType RT

NSAP

public static final RecordType NSAP

NSAP_PTR

public static final RecordType NSAP_PTR

SIG

public static final RecordType SIG

KEY

public static final RecordType KEY

PX

public static final RecordType PX

GPOS

public static final RecordType GPOS

AAAA

public static final RecordType AAAA

LOC

public static final RecordType LOC

NXT

public static final RecordType NXT

EID

public static final RecordType EID

NIMLOC

public static final RecordType NIMLOC

SRV

public static final RecordType SRV

ATMA

public static final RecordType ATMA

NAPTR

public static final RecordType NAPTR

KX

public static final RecordType KX

CERT

public static final RecordType CERT

A6

public static final RecordType A6

DNAME

public static final RecordType DNAME

OPT

public static final RecordType OPT

APL

public static final RecordType APL

DS

public static final RecordType DS

SSHFP

public static final RecordType SSHFP

RRSIG

public static final RecordType RRSIG

NSEC

public static final RecordType NSEC

DNSKEY

public static final RecordType DNSKEY

TKEY

public static final RecordType TKEY

TSIG

public static final RecordType TSIG

IXFR

public static final RecordType IXFR

AXFR

public static final RecordType AXFR

MAILB

public static final RecordType MAILB

MAILA

public static final RecordType MAILA

ANY

public static final RecordType ANY

VALUES

public static final java.util.List VALUES
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object that)
Specified by:
compareTo in interface java.lang.Comparable

getTypeByOrdinal

public static RecordType getTypeByOrdinal(int type)

getTypeByName

public static RecordType getTypeByName(java.lang.String type)

getOrdinal

public int getOrdinal()

getCode

public java.lang.String getCode()

isResourceRecord

public static boolean isResourceRecord(RecordType resourceType)


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