public abstract class AbstractClassHierarchyNodeVisitor extends Object implements NodeVisitor<Node>
Constructor and Description |
---|
AbstractClassHierarchyNodeVisitor() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
visit(ClassNode<?> node)
Process current configuration node of ClassNode type.
|
abstract boolean |
visit(NamedParameterNode<?> node)
Process current configuration node of NamedParameterNode type.
|
boolean |
visit(Node node)
Manually dispatch between different types of Nodes and call a proper visit() method.
|
abstract boolean |
visit(PackageNode node)
Process current configuration node of PackageNode type.
|
public AbstractClassHierarchyNodeVisitor()
public boolean visit(Node node)
visit
in interface NodeVisitor<Node>
node
- TANG configuration node.ClassCastException
- if Node is not one of ClassNode, PackageNode,
or NamedParameterNode.public abstract boolean visit(ClassNode<?> node)
node
- Current configuration node.public abstract boolean visit(PackageNode node)
node
- Current configuration node.public abstract boolean visit(NamedParameterNode<?> node)
node
- Current configuration node.Copyright © 2015 The Apache Software Foundation. All rights reserved.