org.jvnet.ws.wadl.ast
Class ApplicationNode

java.lang.Object
  extended by org.jvnet.ws.wadl.ast.AbstractNode
      extended by org.jvnet.ws.wadl.ast.ApplicationNode

public class ApplicationNode
extends AbstractNode

Provides an abstraction of the Application class that contains a normalised tree of off the elements required to define this WADL with the references correctly substituted.

Author:
gdavison

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.ws.wadl.ast.AbstractNode
AbstractNode.NodeVisitor
 
Constructor Summary
ApplicationNode(Application application, List<ResourceNode> resources)
           
 
Method Summary
 Locator getLocation()
           
 List<ResourceNode> getResources()
           
 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

ApplicationNode

public ApplicationNode(Application application,
                       List<ResourceNode> resources)
Method Detail

getResources

public List<ResourceNode> getResources()

getLocation

public Locator getLocation()
Specified by:
getLocation in class AbstractNode
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.

Overrides:
visit in class AbstractNode


Copyright © 2012. All Rights Reserved.