org.jboss.kernel.plugins.deployment.props.vertex
Class KeywordLevelVertexFactory
java.lang.Object
org.jboss.kernel.plugins.deployment.props.vertex.AbstractLevelVertexFactory
org.jboss.kernel.plugins.deployment.props.vertex.KeywordLevelVertexFactory
- All Implemented Interfaces:
- LevelVertexFactory
- Direct Known Subclasses:
- ClassVertexFactory
public abstract class KeywordLevelVertexFactory
- extends AbstractLevelVertexFactory
Keyword matching level vertex factory.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeywordLevelVertexFactory
protected KeywordLevelVertexFactory(String keyword)
createVertex
public TreeVertex<?> createVertex(String name)
- Description copied from interface:
LevelVertexFactory
- Create new vertex.
If name doesn't match factory's creation return null.
- Parameters:
name
- the name
- Returns:
- new vertex instance or null if cannot create vertex from name
createVertex
protected abstract TreeVertex<?> createVertex(String name,
String keyword)
- Create vertex from name and keyword.
- Parameters:
name
- the namekeyword
- the keyword
- Returns:
- new vertex instance
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.