|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.smartfrog.services.trace.BrowserEntry
public final class BrowserEntry
BrowserEntry represents a node in a BrowseTreeModel.
| Field Summary |
|---|
| Fields inherited from interface org.smartfrog.services.trace.Entry |
|---|
CRLF |
| Constructor Summary | |
|---|---|
BrowserEntry()
Constructor for the BrowserEntry object. |
|
BrowserEntry(java.lang.String DN)
Constructor for the BrowserEntry object. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String msg)
Adds a new child. |
boolean |
add(java.lang.String DN,
java.lang.Object value)
Adds a new child. |
java.lang.String |
attributesString()
Returns the attributes string. |
java.lang.String |
childrenString()
Returns the childern string. |
static java.lang.String |
dumpHashMap(java.util.HashMap hashmap)
Dumps the hash map. |
static java.lang.Object[][] |
dumpHashMap2Array(java.util.HashMap hashmap)
Dumps the hash map to array. |
java.util.HashMap |
getAttributes()
Gets the attributes attribute of the BrowserEntry object. |
java.lang.Object[][] |
getAttributesArray()
Gets the attributesArray attribute of the BrowserEntry object. |
BrowserEntry |
getChild(int index)
Gets the child attribute of the BrowserEntry object. |
java.util.HashMap |
getChildren()
To Get the children of the entry. |
int |
getChildrenCount()
To Get the number of children of the entry. |
java.lang.String |
getDN()
Gets the dN attribute of the BrowserEntry object. |
BrowserEntry |
getEntry(java.lang.String DN,
boolean allLevel)
Search for a particular entry in its children tree. |
java.lang.String |
getName()
Gets the name attribute of the BrowserEntry object. |
java.lang.String |
getParentDN()
Gets the parentDN attribute of the BrowserEntry object. |
java.lang.String |
getRDN()
Gets the rDN attribute of the BrowserEntry object. |
java.lang.String |
getRoot()
Gets the root attribute of the BrowserEntry object. |
boolean |
isLeaf()
Gets the leaf attribute of the BrowserEntry object. |
static void |
main(java.lang.String[] args)
The main method. |
boolean |
remove(java.lang.String DN)
Removes a child. |
java.lang.String |
toString()
Gets the rDN attribute of the BrowserEntry object. |
java.lang.String |
toStringAll()
Return a textual representation of the File object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BrowserEntry(java.lang.String DN)
DN - dN attribute of BrowserEntry objectpublic BrowserEntry()
| Method Detail |
|---|
public void add(java.lang.String msg)
msg - message
public boolean add(java.lang.String DN,
java.lang.Object value)
add in interface EntryDN - dN attributevalue - value
public boolean remove(java.lang.String DN)
remove in interface EntryDN - dN attribute
public boolean isLeaf()
isLeaf in interface Entrypublic java.lang.String toString()
toString in interface EntrytoString in class java.lang.Objectpublic java.lang.String toStringAll()
public java.lang.String childrenString()
public java.lang.String attributesString()
public static java.lang.String dumpHashMap(java.util.HashMap hashmap)
hashmap - hashmap
public static java.lang.Object[][] dumpHashMap2Array(java.util.HashMap hashmap)
hashmap - hashmap
public java.lang.String getRoot()
public java.lang.String getName()
getName in interface Entrypublic java.lang.String getRDN()
getRDN in interface Entrypublic java.lang.String getParentDN()
getParentDN in interface Entrypublic java.lang.String getDN()
getDN in interface Entrypublic java.util.HashMap getChildren()
public BrowserEntry getChild(int index)
index - index for searching
public int getChildrenCount()
getChildrenCount in interface Entrypublic java.util.HashMap getAttributes()
public java.lang.Object[][] getAttributesArray()
public BrowserEntry getEntry(java.lang.String DN,
boolean allLevel)
DN - dN attributeallLevel - bollean indicating to search 1 or all levels
public static void main(java.lang.String[] args)
args - cpmmand line arguments
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||