A node may be addressed from another by giving a DnsName consisting of the sequence of labels from one node to the other.
Each node also has an isZoneCut flag, used to indicate
if the node is a zone cut. A zone cut is a node with an NS record
that is contained in one zone, but that actually belongs to a child zone.
All access is unsynchronized.
| Modifier and Type | Field and Description |
|---|---|
| private Hashtable | |
| private int | |
| private boolean | |
| private String |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv NameNode | |
| pack-priv int | |
| pack-priv NameNode | |
| pack-priv NameNode | |
| pack-priv Hashtable | |
| pack-priv String | |
| pack-priv boolean | |
| protected NameNode | |
| pack-priv void |
| children | back to summary |
|---|---|
| private Hashtable<String, NameNode> children | |
| depth | back to summary |
|---|---|
| private int depth | |
| isZoneCut | back to summary |
|---|---|
| private boolean isZoneCut | |
| label | back to summary |
|---|---|
| private String label | |
| NameNode | back to summary |
|---|---|
| pack-priv NameNode(String label) | |
| add | back to summary |
|---|---|
| pack-priv NameNode add(DnsName name, int idx) | |
| depth | back to summary |
|---|---|
| pack-priv int depth() | |
| get | back to summary |
|---|---|
| pack-priv NameNode get(String key) | |
| get | back to summary |
|---|---|
| pack-priv NameNode get(DnsName name, int idx) | |
| getChildren | back to summary |
|---|---|
| pack-priv Hashtable | |
| getLabel | back to summary |
|---|---|
| pack-priv String getLabel() | |
| isZoneCut | back to summary |
|---|---|
| pack-priv boolean isZoneCut() | |
| newNameNode | back to summary |
|---|---|
| protected NameNode newNameNode(String label) | |
| setZoneCut | back to summary |
|---|---|
| pack-priv void setZoneCut(boolean isZoneCut) | |