|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.security.filters.FilterTreeNode
This class provides a "filter parse tree" interface to the system. It is a dual action object, it's a union of a node, and a leaf. Thus allowing us to play with TreeMap/HashMap quickly.
Please Note: This class is unsynchronized for performance reasons, please be careful when using in a multi-threaded environment outisde of the Filter class.
| Constructor Summary | |
FilterTreeNode()
|
|
| Method Summary | |
void |
dumpNode()
Dumps a printout of the node and subnodes to System.out |
void |
dumpNode(org.apache.log4j.Category log)
Dumps the contents of the tree to the log. |
void |
dumpNode(FastStringBuffer stringBuffer,
int depth)
Dumps the contents of the tree to the log. |
String |
getReplacementString()
|
FilterTreeNode |
getSubnode(ReusableChar key)
|
void |
setReplacementString(String newReplacementString)
Should be only called be the parse tree builder Set the replacement string that corresponds to this node |
void |
setSubnode(ReusableChar key,
FilterTreeNode newSubnode)
Set a subnode based upon the character key. |
boolean |
subnodeExists(ReusableChar key)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilterTreeNode()
| Method Detail |
public String getReplacementString()
public void setReplacementString(String newReplacementString)
throws Exception
newReplacementString - The replacement string to put at this node
Exception - if a replacement string already exists for this
public void setSubnode(ReusableChar key,
FilterTreeNode newSubnode)
throws Exception
key - The character key to look up the subnode.
Exceptionpublic boolean subnodeExists(ReusableChar key)
public FilterTreeNode getSubnode(ReusableChar key)
key - The key to base this subnode after.
public void dumpNode(org.apache.log4j.Category log)
public void dumpNode()
public void dumpNode(FastStringBuffer stringBuffer,
int depth)
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||