org.rundeck.api.parser
Class NodeParser

java.lang.Object
  extended by org.rundeck.api.parser.NodeParser
All Implemented Interfaces:
XmlNodeParser<RundeckNode>

public class NodeParser
extends Object
implements XmlNodeParser<RundeckNode>

Parser for a single RundeckNode

Author:
Vincent Behar

Constructor Summary
NodeParser()
           
NodeParser(String xpath)
           
 
Method Summary
 RundeckNode parseXmlNode(org.dom4j.Node node)
          Parse the given XML Node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeParser

public NodeParser()

NodeParser

public NodeParser(String xpath)
Parameters:
xpath - of the rundeck-node element if it is not the root xml-node
Method Detail

parseXmlNode

public RundeckNode parseXmlNode(org.dom4j.Node node)
Description copied from interface: XmlNodeParser
Parse the given XML Node

Specified by:
parseXmlNode in interface XmlNodeParser<RundeckNode>
Returns:
any object holding the converted value


Copyright © 2011. All Rights Reserved.