Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.xms
Class TransformationContextImpl

java.lang.Object
  |
  +--oracle.panama.messaging.xms.TransformationContextImpl
All Implemented Interfaces:
java.lang.Cloneable, TransformationContext

public class TransformationContextImpl
extends java.lang.Object
implements TransformationContext, java.lang.Cloneable

Constructor Summary
TransformationContextImpl(long id, DeliveryType deliveryType)
           
TransformationContextImpl(long id, DeliveryType deliveryType, java.lang.String encoding)
           

 

Method Summary
 void addInputMessageParts(java.util.Map requestMap)
           
 java.lang.String getAsyncAccessPoint()
          Get the access point for the delivery type of this context
 java.net.URL getBaseURL()
           
 DeliveryType getDeliveryType()
          Get the deliveryType that we are transforming to
 oracle.panama.messaging.push.AddressData getDestination()
          Get the destination address
 javax.mail.internet.ContentType getInputContentType()
           
 java.lang.String getInputEncoding()
          Get the encoding of the message
 java.lang.String getInputMarkup()
           
 Message getInputMessage()
          Get the original input message
 java.util.Map getInputMessageParts()
          Get the parts of the message, keyed by the filename
 java.net.URL getMM1URL()
          Get the MM1 URL
 java.lang.String getOutputEncoding()
          Get the encoding of the message
 long getPacketId()
          Get the packet id
 TransformationContext getParentContext()
           
 java.lang.String getRequestName()
          Get the name of the current request
 java.lang.Object getResultContent()
           
 javax.mail.internet.ContentType getResultContentType()
           
 boolean isPersonalized()
          Does this message need to be personalized, or can it be broadcast
 void setAsyncAccessPoint(java.lang.String asyncAccessPoint)
           
 void setBaseURL(java.net.URL url)
           
 void setDeliveryType(DeliveryType deliveryType)
           
 void setDestination(oracle.panama.messaging.push.AddressData destination)
           
 void setInputContentType(javax.mail.internet.ContentType inputContentType)
           
 void setInputEncoding(java.lang.String inputEncoding)
           
 void setInputMarkup(java.lang.String inputMarkup)
           
 void setInputMessageParts(java.util.Map inputMessageParts)
           
 void setMM1URL(java.net.URL mm1URL)
           
 void setOutputEncoding(java.lang.String outputEncoding)
          Srt the encoding used for output
 void setParentContext(TransformationContext transformationContext)
           
 void setPersonalized(boolean personalized)
           
 void setRequestName(java.lang.String requestName)
           
 void setResultContent(java.lang.Object resultContent)
           
 void setResultContentType(javax.mail.internet.ContentType resultContentType)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TransformationContextImpl

public TransformationContextImpl(long id,
DeliveryType deliveryType)
                          throws XMSException

TransformationContextImpl

public TransformationContextImpl(long id,
DeliveryType deliveryType,
                                 java.lang.String encoding)
                          throws XMSException
Method Detail

getAsyncAccessPoint

public java.lang.String getAsyncAccessPoint()
Description copied from interface: TransformationContext
Get the access point for the delivery type of this context
Specified by:
getAsyncAccessPoint in interface TransformationContext

setAsyncAccessPoint

public void setAsyncAccessPoint(java.lang.String asyncAccessPoint)

getMM1URL

public java.net.URL getMM1URL()
Description copied from interface: TransformationContext
Get the MM1 URL
Specified by:
getMM1URL in interface TransformationContext
Returns:

setMM1URL

public void setMM1URL(java.net.URL mm1URL)
Specified by:
setMM1URL in interface TransformationContext

getBaseURL

public java.net.URL getBaseURL()
Specified by:
getBaseURL in interface TransformationContext

setBaseURL

public void setBaseURL(java.net.URL url)
Specified by:
setBaseURL in interface TransformationContext

getDeliveryType

public DeliveryType getDeliveryType()
Get the deliveryType that we are transforming to
Specified by:
getDeliveryType in interface TransformationContext

setDeliveryType

public void setDeliveryType(DeliveryType deliveryType)

getDestination

public oracle.panama.messaging.push.AddressData getDestination()
Get the destination address
Specified by:
getDestination in interface TransformationContext

setDestination

public void setDestination(oracle.panama.messaging.push.AddressData destination)

getOutputEncoding

public java.lang.String getOutputEncoding()
Get the encoding of the message
Specified by:
getOutputEncoding in interface TransformationContext
Returns:

setOutputEncoding

public void setOutputEncoding(java.lang.String outputEncoding)
Description copied from interface: TransformationContext
Srt the encoding used for output
Specified by:
setOutputEncoding in interface TransformationContext
Parameters:
outputEncoding -

getParentContext

public TransformationContext getParentContext()

setParentContext

public void setParentContext(TransformationContext transformationContext)

getInputMessageParts

public java.util.Map getInputMessageParts()
Description copied from interface: TransformationContext
Get the parts of the message, keyed by the filename
Specified by:
getInputMessageParts in interface TransformationContext

setInputMessageParts

public void setInputMessageParts(java.util.Map inputMessageParts)

getInputEncoding

public java.lang.String getInputEncoding()
Get the encoding of the message
Specified by:
getInputEncoding in interface TransformationContext

setInputEncoding

public void setInputEncoding(java.lang.String inputEncoding)

getPacketId

public long getPacketId()
Get the packet id
Specified by:
getPacketId in interface TransformationContext

isPersonalized

public boolean isPersonalized()
Does this message need to be personalized, or can it be broadcast
Specified by:
isPersonalized in interface TransformationContext

setRequestName

public void setRequestName(java.lang.String requestName)
Specified by:
setRequestName in interface TransformationContext

getRequestName

public java.lang.String getRequestName()
Description copied from interface: TransformationContext
Get the name of the current request
Specified by:
getRequestName in interface TransformationContext
Returns:

setPersonalized

public void setPersonalized(boolean personalized)

getResultContent

public java.lang.Object getResultContent()
Specified by:
getResultContent in interface TransformationContext

setResultContent

public void setResultContent(java.lang.Object resultContent)
Specified by:
setResultContent in interface TransformationContext

getResultContentType

public javax.mail.internet.ContentType getResultContentType()
Specified by:
getResultContentType in interface TransformationContext

setResultContentType

public void setResultContentType(javax.mail.internet.ContentType resultContentType)
Specified by:
setResultContentType in interface TransformationContext

getInputContentType

public javax.mail.internet.ContentType getInputContentType()
Specified by:
getInputContentType in interface TransformationContext

setInputContentType

public void setInputContentType(javax.mail.internet.ContentType inputContentType)

getInputMarkup

public java.lang.String getInputMarkup()
Specified by:
getInputMarkup in interface TransformationContext

setInputMarkup

public void setInputMarkup(java.lang.String inputMarkup)

getInputMessage

public Message getInputMessage()
                        throws XMSException
Description copied from interface: TransformationContext
Get the original input message
Specified by:
getInputMessage in interface TransformationContext
Returns:
XMSException

addInputMessageParts

public void addInputMessageParts(java.util.Map requestMap)

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.