Package org.minidns.dnslabel
Class XnLabel
java.lang.Object
org.minidns.dnslabel.DnsLabel
org.minidns.dnslabel.LdhLabel
org.minidns.dnslabel.ReservedLdhLabel
org.minidns.dnslabel.XnLabel
- All Implemented Interfaces:
CharSequence
,Comparable<DnsLabel>
- Direct Known Subclasses:
ALabel
,FakeALabel
public abstract class XnLabel extends ReservedLdhLabel
A label that begins with "xn--" and follows the LDH rule.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.minidns.dnslabel.DnsLabel
DnsLabel.LabelToLongException
-
Field Summary
Fields inherited from class org.minidns.dnslabel.DnsLabel
label, MAX_LABEL_LENGTH_IN_OCTETS, VALIDATE, WILDCARD_LABEL
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected static LdhLabel
fromInternal(String label)
static boolean
isXnLabel(String label)
(package private) static boolean
isXnLabelInternal(String label)
Methods inherited from class org.minidns.dnslabel.ReservedLdhLabel
isReservedLdhLabel, isReservedLdhLabelInternal
Methods inherited from class org.minidns.dnslabel.DnsLabel
asLowercaseVariant, charAt, compareTo, equals, from, from, getInternationalizedRepresentation, getInternationalizedRepresentationInternal, getLabelType, hashCode, isIdnAcePrefixed, length, subSequence, toString, writeToBoas