no.sesat.search.mode.command
Interface XmlRestful
- All Superinterfaces:
- Restful
- All Known Implementing Classes:
- AbstractXmlRestful
public interface XmlRestful
- extends Restful
SearchCommands that are RESTful and return XML response.
http://en.wikipedia.org/wiki/Representational_State_Transfer
It makes the presumption of working with JAXP's DOM.
- Version:
- $Id: XmlRestful.java 7225 2009-04-09 00:32:20Z ssmiweve $
getXmlResult
Document getXmlResult()
throws IOException,
SAXException
- Obtain the loaded Document, of the RESTful result.
Makes the presumption that the RESTful service returns an well formed xml response.
- Returns:
- the w3c dom Document
- Throws:
IOException - failure to read the response (or sent the request)
SAXException - failure to parse/load the xml into a dom
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.