Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.rt
Interface ProcessingContext

All Superinterfaces:
ProcessingContextParameterNames
All Known Subinterfaces:
ServiceContext

public interface ProcessingContext
extends ProcessingContextParameterNames

Field Summary

 

Fields inherited from interface oracle.panama.rt.ProcessingContextParameterNames
ABS_REQUEST_NAME, ACCEPT_LANG, AMP_EXPLICIT, BASE_URL, COUNTRY, DEVICE, DEVICE_CATEGORY, ENC_SUFFIX, FIRST_ACCEPT_LANG, HTTP_REQUEST_NAME, HTTPS_REQUEST_NAME, IMAGE_PREFERENCES, INP_FIRST_SERVICE_NAME, INP_FIRST_SERVICE_NAME_ENC, INP_FIRST_SERVICE_URL, INP_FIRST_SERVICE_URL_ENC, LATITUDE, LONGITUDE, MAX_DOC_SIZE, POSTALCODE, REFERER_URL, REQUEST_NAME, RESULT, SCREEN_COLS, SCREEN_HEIGHT, SCREEN_ROWS, SCREEN_WIDTH, SERVICE_REQUEST, SESSION, SOFT_KEYS, SR_FROM_ADAPTER, SR_FROM_SERVICE, STATE, USER, USER_AGENT, USER_LANGUAGE

 

Method Summary
 byte[] getBinaryDeviceResult()
          Get the device result given in the device's markup language.
 java.lang.String getDeviceResult()
          Get the device result given in the device's markup language.
 int getDeviceResultLength()
          Get the content length of binary result.
 java.lang.String getDeviceResultType()
          Get the content type of binary result.
 org.w3c.dom.Element getElement()
          Externalize the contents of ServiceContext in XML doument format.
 java.lang.String getMarkupLanguageVersion()
          Get the markup language version of the simple result
 org.w3c.dom.Element getMPResult()
          Get the XHTML MP result after one or more XML transformations.
 oracle.xml.xforms.doc.XFormsDocument getRequestedXFormsDocument()
          Get the xforms document requested for invocation.
 oracle.xml.xforms.doc.XFormsDocument getRespondedXFormsDocument()
          Get the xforms document returned after invocation of the URL.
 org.w3c.dom.Element getSimpleResult()
          Get the simple result after one or more XML transformations.
 java.lang.String getSRDTDVersion()
          Deprecated. Get the dtd version of the simple result
 org.w3c.dom.Element getXADResult()
           
 org.w3c.dom.Element getXFXCResult()
           
 org.w3c.dom.Element getXHTMLResult()
          Get the XHTML result after one or more XML transformations.
 void setDeviceResult(byte[] result, java.lang.String contentType, int contentLength)
          Set the device result given in the device's markup language.
 void setDeviceResult(java.lang.String result)
          Set the device result given in the device's markup language.
 void setDeviceResult(java.lang.String result, java.lang.String contentType, int contentLength)
          Set the device result given in the device's markup language.
 void setMPResult(org.w3c.dom.Element xhtml)
          Set the XHTML MP result after one or more XML transformations.
 void setSimpleResult(org.w3c.dom.Element simpleResult)
          Set the simple result after one or more XML transformations.
 void setXADResult(org.w3c.dom.Element result)
          Set the XAD result after one or more XML transformations.
 void setXFXCResult(org.w3c.dom.Element result)
          Set the XAD result after one or more XML transformations.
 void setXHTMLResult(org.w3c.dom.Element xhtml)
          Set the XHTML result after one or more XML transformations.

 

Method Detail

getBinaryDeviceResult

public byte[] getBinaryDeviceResult()
Get the device result given in the device's markup language.

getDeviceResult

public java.lang.String getDeviceResult()
Get the device result given in the device's markup language.

getDeviceResultLength

public int getDeviceResultLength()
Get the content length of binary result.

getDeviceResultType

public java.lang.String getDeviceResultType()
Get the content type of binary result.

getElement

public org.w3c.dom.Element getElement()
Externalize the contents of ServiceContext in XML doument format. This may include adapter result, simple result, and all arguments that also include service, device, user, and query parameters. Elements will be created under the service context's document owner.
Returns:
the root element of the XML document

getMarkupLanguageVersion

public java.lang.String getMarkupLanguageVersion()
Get the markup language version of the simple result
Returns:
String the markup language version of Simple Result

getMPResult

public org.w3c.dom.Element getMPResult()
Get the XHTML MP result after one or more XML transformations.
Returns:
the root element of the XML document for XHTML result

getRequestedXFormsDocument

public oracle.xml.xforms.doc.XFormsDocument getRequestedXFormsDocument()
Get the xforms document requested for invocation.
Returns:
the requested xforms document

getRespondedXFormsDocument

public oracle.xml.xforms.doc.XFormsDocument getRespondedXFormsDocument()
Get the xforms document returned after invocation of the URL.
Returns:
the responded xforms document

getSimpleResult

public org.w3c.dom.Element getSimpleResult()
Get the simple result after one or more XML transformations.
Returns:
the root element of the XML document for simple result

getSRDTDVersion

public java.lang.String getSRDTDVersion()
Deprecated. Get the dtd version of the simple result
Returns:
String the dtd version of Simple Result

getXADResult

public org.w3c.dom.Element getXADResult()

getXFXCResult

public org.w3c.dom.Element getXFXCResult()

getXHTMLResult

public org.w3c.dom.Element getXHTMLResult()
Get the XHTML result after one or more XML transformations.
Returns:
the root element of the XML document for XHTML result

setDeviceResult

public void setDeviceResult(byte[] result,
                            java.lang.String contentType,
                            int contentLength)
Set the device result given in the device's markup language.

setDeviceResult

public void setDeviceResult(java.lang.String result)
Set the device result given in the device's markup language.

setDeviceResult

public void setDeviceResult(java.lang.String result,
                            java.lang.String contentType,
                            int contentLength)
Set the device result given in the device's markup language.

setMPResult

public void setMPResult(org.w3c.dom.Element xhtml)
Set the XHTML MP result after one or more XML transformations.

setSimpleResult

public void setSimpleResult(org.w3c.dom.Element simpleResult)
Set the simple result after one or more XML transformations.

setXADResult

public void setXADResult(org.w3c.dom.Element result)
Set the XAD result after one or more XML transformations.
Parameters:
result - the root element of the XML document for XHTML result

setXFXCResult

public void setXFXCResult(org.w3c.dom.Element result)
Set the XAD result after one or more XML transformations.
Parameters:
result - the root element of the XML document for XHTML result

setXHTMLResult

public void setXHTMLResult(org.w3c.dom.Element xhtml)
Set the XHTML result after one or more XML transformations.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.