org.xqdoc.conversion
Class XQDocPayload

java.lang.Object
  extended by org.xqdoc.conversion.XQDocPayload

public class XQDocPayload
extends java.lang.Object

This class is a 'container' for information returned from XQDocController to the various drivers. The 'container' contains the serialized xqDoc XML and the xqDoc module URI associated with this XML.

Version:
1.0
Author:
Darin McBeath

Constructor Summary
XQDocPayload()
           
 
Method Summary
 java.lang.String getModuleURI()
          Get the xqDoc module URI from the response payload.
 java.lang.String getXQDocXML()
          Get the serialized xqDoc XML from the response payload.
 void setModuleURI(java.lang.String uri)
          Set the xqDoc module URI in the response payload.
 void setXQDocXML(java.lang.String xml)
          Set the serialized xqDoc XML in the response payload.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQDocPayload

public XQDocPayload()
Method Detail

setXQDocXML

public void setXQDocXML(java.lang.String xml)
Set the serialized xqDoc XML in the response payload.

Parameters:
xml - Serialized xqDoc XML.

getXQDocXML

public java.lang.String getXQDocXML()
Get the serialized xqDoc XML from the response payload.

Returns:
Serialized xqDoc XML.

setModuleURI

public void setModuleURI(java.lang.String uri)
Set the xqDoc module URI in the response payload.

Parameters:
uri - xqDoc module URI.

getModuleURI

public java.lang.String getModuleURI()
Get the xqDoc module URI from the response payload.

Returns:
xqDoc module URI.