|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.hgraph.AbstractHandler
ist.palcom.hgraph.NodeHandler
public class NodeHandler
NodeHandler handles the basic node commands related to children and naming
| Field Summary | |
|---|---|
static java.lang.String |
CMD_ADDCHILD
Command for adding a child to the node |
static java.lang.String |
CMD_HASCHILD
Command for cheching whether the node has a child with a certain name |
static java.lang.String |
CMD_NEWCHILD
Command for creating and adding a new child to the node |
static java.lang.String |
CMD_REMOVECHILD
Command for removing a specific child from the node |
static java.lang.String |
CMD_SETNAME
Command for setting the name of the node. |
static java.lang.String |
CMD_SETPARENT
Command for setting the parent of the node |
static java.lang.String |
description
|
static java.lang.String |
name
|
| Fields inherited from class ist.palcom.hgraph.AbstractHandler |
|---|
DEFAULT_NUM_LOGS |
| Constructor Summary | |
|---|---|
NodeHandler(HgraphNode node)
|
|
| Method Summary | |
|---|---|
Signature[] |
getSignatures()
|
void |
handle(HgraphEvent event)
The handle method is invoked by the HgraphNode in which the handler is installed. |
| Methods inherited from class ist.palcom.hgraph.AbstractHandler |
|---|
getDescription, getLast, getLogIterator, getName, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String name
public static final java.lang.String description
public static final java.lang.String CMD_SETNAME
public static final java.lang.String CMD_REMOVECHILD
public static final java.lang.String CMD_HASCHILD
public static final java.lang.String CMD_NEWCHILD
public static final java.lang.String CMD_ADDCHILD
public static final java.lang.String CMD_SETPARENT
| Constructor Detail |
|---|
public NodeHandler(HgraphNode node)
| Method Detail |
|---|
public Signature[] getSignatures()
public void handle(HgraphEvent event)
Handler
handle in interface Handlerhandle in class AbstractHandlerHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||