org.rundeck.api.parser
Class ListParser<T>
java.lang.Object
org.rundeck.api.parser.ListParser<T>
- All Implemented Interfaces:
- XmlNodeParser<List<T>>
public class ListParser<T>
- extends Object
- implements XmlNodeParser<List<T>>
Parser for a List
of elements
- Author:
- Vincent Behar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListParser
public ListParser(XmlNodeParser<T> parser,
String xpath)
- Parameters:
parser
- for an individual elementxpath
- of the elements
parseXmlNode
public List<T> parseXmlNode(org.dom4j.Node node)
- Description copied from interface:
XmlNodeParser
- Parse the given XML
Node
- Specified by:
parseXmlNode
in interface XmlNodeParser<List<T>>
- Returns:
- any object holding the converted value
Copyright © 2011. All Rights Reserved.