org.rundeck.api.parser
Class StringParser

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

public class StringParser
extends Object
implements XmlNodeParser<String>

Parser for a single String

Author:
Vincent Behar

Constructor Summary
StringParser()
           
StringParser(String xpath)
           
 
Method Summary
 String 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

StringParser

public StringParser()

StringParser

public StringParser(String xpath)
Parameters:
xpath - of the string element if it is not the root node
Method Detail

parseXmlNode

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

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


Copyright © 2011. All Rights Reserved.