public class

PagedResultParser

extends Object
implements XmlNodeParser<T>
java.lang.Object
   ↳ org.rundeck.api.parser.PagedResultParser<T>

Class Overview

PagedResultParser extracts paging data from an xpath node, and includes the List result from a ListParser

Summary

Public Constructors
PagedResultParser(ListParser<T> itemParser, String xpath)
Create a PagedResultParser
Public Methods
String getXpath()
PagedResults<T> parseXmlNode(Node node)
Parse the given XML Node
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.rundeck.api.parser.XmlNodeParser

Public Constructors

public PagedResultParser (ListParser<T> itemParser, String xpath)

Create a PagedResultParser

Parameters
itemParser the list parser
xpath xpath for list container containing paging attributes

Public Methods

public String getXpath ()

public PagedResults<T> parseXmlNode (Node node)

Parse the given XML Node

Returns
  • any object holding the converted value