Package org.xbill.DNS
Class APLRecord.Element
java.lang.Object
org.xbill.DNS.APLRecord.Element
- Enclosing class:
APLRecord
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionElement(boolean negative, InetAddress address, int prefixLength) Creates an APL element corresponding to an IPv4 or IPv6 prefix. -
Method Summary
-
Field Details
-
family
public final int family -
negative
public final boolean negative -
prefixLength
public final int prefixLength -
address
-
-
Constructor Details
-
Element
Creates an APL element corresponding to an IPv4 or IPv6 prefix.- Parameters:
negative- Indicates if this prefix is a negation.address- The IPv4 or IPv6 address.prefixLength- The length of this prefix, in bits.- Throws:
IllegalArgumentException- The prefix length is invalid.
-
-
Method Details