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:
 java.lang.CharSequence,java.lang.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
Constructors Modifier Constructor Description protectedXnLabel(java.lang.String label) 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static LdhLabelfromInternal(java.lang.String label)static booleanisXnLabel(java.lang.String label)- 
Methods inherited from class org.minidns.dnslabel.ReservedLdhLabel
isReservedLdhLabel 
- 
Methods inherited from class org.minidns.dnslabel.LdhLabel
isLdhLabel 
- 
Methods inherited from class org.minidns.dnslabel.DnsLabel
asLowercaseVariant, charAt, compareTo, equals, from, from, getInternationalizedRepresentation, getInternationalizedRepresentationInternal, getLabelType, hashCode, isIdnAcePrefixed, length, subSequence, toString, writeToBoas 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
XnLabel
protected XnLabel(java.lang.String label)
 
 - 
 
- 
Method Detail
- 
fromInternal
protected static LdhLabel fromInternal(java.lang.String label)
 
- 
isXnLabel
public static boolean isXnLabel(java.lang.String label)
 
 - 
 
 -