org.jvnet.ws.wadl.ast
Class AbstractNode

java.lang.Object
  extended by org.jvnet.ws.wadl.ast.AbstractNode
Direct Known Subclasses:
ApplicationNode, FaultNode, MethodNode, RepresentationNode, ResourceNode, ResourceTypeNode

public abstract class AbstractNode
extends Object

Provide common function for all node types

Author:
gdavison

Nested Class Summary
static interface AbstractNode.NodeVisitor
           
 
Constructor Summary
AbstractNode()
           
 
Method Summary
abstract  Locator getLocation()
           
 void visit(AbstractNode.NodeVisitor visitor)
          Allow the provided parameter to visit the current node and any child nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNode

public AbstractNode()
Method Detail

getLocation

public abstract Locator getLocation()
Returns:
The location of the node

visit

public void visit(AbstractNode.NodeVisitor visitor)
Allow the provided parameter to visit the current node and any child nodes.



Copyright © 2014. All Rights Reserved.