org.apache.muse.ws.resource.properties.query.impl
Class QueryResponse
java.lang.Object
org.apache.muse.ws.resource.properties.query.impl.QueryResponse
- All Implemented Interfaces:
- XmlSerializable
public class QueryResponse
- extends Object
- implements XmlSerializable
QueryResponse is a serializer/deserializer for the WS-ResourceProperties
QueryResourceProperties operation's response content.
- Author:
- Dan Jemiolo (danj)
QueryResponse
public QueryResponse(Node[] results)
getItem
public Node getItem(int index)
getItems
public Node[] getItems()
getNumberOfItems
public int getNumberOfItems()
toString
public String toString()
- Overrides:
toString
in class Object
toXML
public Element toXML()
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Returns:
- An XML representation of this object.
toXML
public Element toXML(Document doc)
- Description copied from interface:
XmlSerializable
- Converts this object into an XML representation, as defined by its
related schema or specification. The format of the XML is dependent
on the concrete type.
- Specified by:
toXML
in interface XmlSerializable
- Parameters:
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
- Returns:
- An XML representation of this object.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.