|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.graph.Vertex<String>
org.jboss.kernel.plugins.deployment.props.TreeVertex<T>
T
- exact vertex typepublic abstract class TreeVertex<T extends org.jboss.util.graph.Vertex<String>>
Tree vertex.
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
The logger |
Constructor Summary | |
---|---|
protected |
TreeVertex(String name)
|
Method Summary | |
---|---|
protected static Set<org.jboss.util.graph.Vertex<String>> |
getChildren(org.jboss.util.graph.Vertex<String> vertex)
Get children from vertext param. |
protected String |
getLastToken()
Get the last token. |
protected static org.jboss.util.graph.Vertex<String> |
getNext(org.jboss.util.graph.Vertex<String> vertex)
Get the next vertex. |
protected static org.jboss.util.graph.Vertex<String> |
getParent(org.jboss.util.graph.Vertex<String> vertex)
Get the parent vertex from vertex param. |
protected static org.jboss.util.graph.Vertex<String> |
getPrevious(org.jboss.util.graph.Vertex<String> vertex)
Get previous from vertex param. |
void |
visit()
|
abstract void |
visit(T parent,
Set<org.jboss.util.graph.Vertex<String>> children)
Do the visit. |
Methods inherited from class org.jboss.util.graph.Vertex |
---|
addEdge, addIncomingEdge, addOutgoingEdge, clearMark, cost, findEdge, findEdge, getData, getIncomingEdge, getIncomingEdgeCount, getIncomingEdges, getMarkState, getName, getOutgoingEdge, getOutgoingEdgeCount, getOutgoingEdges, hasEdge, hasEdge, mark, remove, setData, setMarkState, toString, visited |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected org.jboss.logging.Logger log
Constructor Detail |
---|
protected TreeVertex(String name)
Method Detail |
---|
public void visit()
visit
in class org.jboss.util.graph.Vertex<String>
protected String getLastToken()
protected static org.jboss.util.graph.Vertex<String> getParent(org.jboss.util.graph.Vertex<String> vertex)
vertex
- the vertex to check
protected static Set<org.jboss.util.graph.Vertex<String>> getChildren(org.jboss.util.graph.Vertex<String> vertex)
vertex
- the vertex to check
protected static org.jboss.util.graph.Vertex<String> getPrevious(org.jboss.util.graph.Vertex<String> vertex)
vertex
- the vertex
protected static org.jboss.util.graph.Vertex<String> getNext(org.jboss.util.graph.Vertex<String> vertex)
vertex
- the vertex
public abstract void visit(T parent, Set<org.jboss.util.graph.Vertex<String>> children)
parent
- the parent vertexchildren
- the children vertices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |