org.apache.muse.ws.resource.properties.query.impl
Class QueryRequest
java.lang.Object
org.apache.muse.ws.resource.properties.query.impl.QueryRequest
- All Implemented Interfaces:
- XmlSerializable
- public class QueryRequest
- extends java.lang.Object
- implements XmlSerializable
QueryRequest is a serializer/deserializer for the WS-ResourceProperties
QueryResourceProperties operation's request content.
- Author:
- Dan Jemiolo (danj)
Constructor Summary |
QueryRequest(org.w3c.dom.Element request)
|
QueryRequest(java.lang.String query,
java.lang.String dialect)
|
Method Summary |
java.lang.String |
getDialect()
|
java.lang.String |
getQuery()
|
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML()
Converts this object into an XML representation, as defined by its
related schema or specification. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
Converts this object into an XML representation, as defined by its
related schema or specification. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryRequest
public QueryRequest(org.w3c.dom.Element request)
throws InvalidMessageFormatFault
QueryRequest
public QueryRequest(java.lang.String query,
java.lang.String dialect)
getDialect
public java.lang.String getDialect()
getQuery
public java.lang.String getQuery()
toString
public java.lang.String toString()
toXML
public org.w3c.dom.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 org.w3c.dom.Element toXML(org.w3c.dom.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.