|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbill.DNS.RRset
A set of Records with the same name, type, and class. Also included are all SIG/RRSIG records signing the data records.
Record,
SIGRecord,
RRSIGRecord| Constructor Summary | |
RRset()
Creates an empty RRset |
|
| Method Summary | |
void |
addRR(Record r)
Adds a Record to an RRset |
void |
clear()
Deletes all Records from an RRset |
void |
deleteRR(Record r)
Deletes a Record from an RRset |
Record |
first()
Returns the first record |
int |
getDClass()
Returns the class of the records |
Name |
getName()
Returns the name of the records |
int |
getSecurity()
Returns the DNSSEC security of the RRset. |
long |
getTTL()
Returns the ttl of the records |
int |
getType()
Returns the type of the records |
Iterator |
rrs()
Returns an Iterator listing all (data) records. |
Iterator |
sigs()
Returns an Iterator listing all signature records |
int |
size()
Returns the number of (data) records |
String |
toString()
Converts the RRset to a String |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RRset()
| Method Detail |
public void addRR(Record r)
public void deleteRR(Record r)
public void clear()
public Iterator rrs()
public Iterator sigs()
public int size()
public Name getName()
Namepublic int getType()
getType in interface org.xbill.DNS.TypedObjectTypepublic int getDClass()
DClasspublic long getTTL()
public Record first()
public int getSecurity()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||