public static class

XTree.Dn

extends Object
java.lang.Object
   ↳ sun.tools.jconsole.inspector.XTree.Dn

Summary

Public Constructors
XTree.Dn(String domain, String dn)
Public Methods
void addToken(XTree.Token token)
void addToken(int index, XTree.Token token)
void clearTokens()
void computeHashDn()
String getDn()
String getDomain()
String getHashDn()
String getHashKey(XTree.Token token)
XTree.Token getToken(int index)
void removeToken(int index)
void reverseOrder()
void setToken(int index, XTree.Token token)
int size()
String toString()
Returns a string representation of the object.
void updateDn()
Adds the domain as the first token in the Dn.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public XTree.Dn (String domain, String dn)

Public Methods

public void addToken (XTree.Token token)

public void addToken (int index, XTree.Token token)

public void clearTokens ()

public void computeHashDn ()

public String getDn ()

public String getDomain ()

public String getHashDn ()

public String getHashKey (XTree.Token token)

public XTree.Token getToken (int index)

public void removeToken (int index)

public void reverseOrder ()

public void setToken (int index, XTree.Token token)

public int size ()

public String toString ()

Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns
  • a string representation of the object.

public void updateDn ()

Adds the domain as the first token in the Dn.