org.jboss.kernel.plugins.deployment.props
Interface VertexFactory

All Known Implementing Classes:
DefaultVertexFactory

public interface VertexFactory

Vertex factory.

Author:
Ales Justin

Method Summary
 TreeVertex<?> createVertex(int level, String name)
          Create simple vertex.
 DeploymentVertex rootVertex()
          Create root/deploymenent vertex.
 TreeVertex<?> valueVertex(String value)
          Create value vertext.
 org.jboss.util.graph.Visitor<String> visitor()
          Get the visitor.
 

Method Detail

rootVertex

DeploymentVertex rootVertex()
Create root/deploymenent vertex.

Returns:
DeploymentVertex instance

createVertex

TreeVertex<?> createVertex(int level,
                           String name)
Create simple vertex.

Parameters:
level - current level
name - full name
Returns:
new tree vertex

valueVertex

TreeVertex<?> valueVertex(String value)
Create value vertext.

Parameters:
value - the text value
Returns:
new value vertex

visitor

org.jboss.util.graph.Visitor<String> visitor()
Get the visitor.

Returns:
visitor instance


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.