public class PayloadHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AXIOMPAYLOADNS |
static QName |
BINARYELT |
static int |
BINARYPAYLOADTYPE |
static org.apache.commons.logging.Log |
log |
static QName |
MAPELT |
static int |
MAPPAYLOADTYPE |
static QName |
TEXTELT |
static int |
TEXTPAYLOADTYPE |
static int |
XMLPAYLOADTYPE |
Constructor and Description |
---|
PayloadHelper() |
Modifier and Type | Method and Description |
---|---|
static DataHandler |
getBinaryPayload(MessageContext mc) |
static DataHandler |
getBinaryPayload(org.apache.axiom.soap.SOAPEnvelope envelope) |
static SimpleMap |
getMapPayload(MessageContext mc) |
static SimpleMap |
getMapPayload(org.apache.axiom.soap.SOAPEnvelope envelope) |
static int |
getPayloadType(MessageContext mc) |
static int |
getPayloadType(org.apache.axiom.soap.SOAPEnvelope envelope) |
static XMLStreamReader |
getStAXPayload(MessageContext mc) |
static XMLStreamReader |
getStAXPayload(org.apache.axiom.soap.SOAPEnvelope envelope) |
static String |
getTextPayload(MessageContext mc) |
static String |
getTextPayload(org.apache.axiom.soap.SOAPEnvelope envelope) |
static org.apache.axiom.om.OMElement |
getXMLPayload(org.apache.axiom.soap.SOAPEnvelope envelope) |
static void |
setBinaryPayload(MessageContext mc,
DataHandler dh) |
static void |
setBinaryPayload(org.apache.axiom.soap.SOAPEnvelope envelope,
DataHandler dh) |
static void |
setMapPayload(MessageContext mc,
SimpleMap map) |
static void |
setMapPayload(org.apache.axiom.soap.SOAPEnvelope envelope,
SimpleMap map) |
static void |
setStAXPayload(MessageContext mc,
XMLStreamReader streamReader) |
static void |
setStAXPayload(org.apache.axiom.soap.SOAPEnvelope envelope,
XMLStreamReader streamReader) |
static void |
setTextPayload(MessageContext mc,
String text) |
static void |
setTextPayload(org.apache.axiom.soap.SOAPEnvelope envelope,
String text) |
static void |
setXMLPayload(MessageContext mc,
org.apache.axiom.om.OMElement element) |
static void |
setXMLPayload(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.om.OMElement element) |
public static final String AXIOMPAYLOADNS
public static final QName BINARYELT
public static final QName TEXTELT
public static final QName MAPELT
public static final int XMLPAYLOADTYPE
public static final int BINARYPAYLOADTYPE
public static final int TEXTPAYLOADTYPE
public static final int MAPPAYLOADTYPE
public static final org.apache.commons.logging.Log log
public static int getPayloadType(org.apache.axiom.soap.SOAPEnvelope envelope)
public static int getPayloadType(MessageContext mc)
public static org.apache.axiom.om.OMElement getXMLPayload(org.apache.axiom.soap.SOAPEnvelope envelope)
public static void setXMLPayload(org.apache.axiom.soap.SOAPEnvelope envelope, org.apache.axiom.om.OMElement element)
public static void setXMLPayload(MessageContext mc, org.apache.axiom.om.OMElement element)
public static DataHandler getBinaryPayload(org.apache.axiom.soap.SOAPEnvelope envelope)
public static DataHandler getBinaryPayload(MessageContext mc)
public static void setBinaryPayload(org.apache.axiom.soap.SOAPEnvelope envelope, DataHandler dh)
public static void setBinaryPayload(MessageContext mc, DataHandler dh)
public static String getTextPayload(org.apache.axiom.soap.SOAPEnvelope envelope)
public static String getTextPayload(MessageContext mc)
public static void setTextPayload(org.apache.axiom.soap.SOAPEnvelope envelope, String text)
public static void setTextPayload(MessageContext mc, String text)
public static SimpleMap getMapPayload(org.apache.axiom.soap.SOAPEnvelope envelope)
public static SimpleMap getMapPayload(MessageContext mc)
public static void setMapPayload(org.apache.axiom.soap.SOAPEnvelope envelope, SimpleMap map)
public static void setMapPayload(MessageContext mc, SimpleMap map)
public static XMLStreamReader getStAXPayload(org.apache.axiom.soap.SOAPEnvelope envelope)
public static XMLStreamReader getStAXPayload(MessageContext mc)
public static void setStAXPayload(org.apache.axiom.soap.SOAPEnvelope envelope, XMLStreamReader streamReader)
public static void setStAXPayload(MessageContext mc, XMLStreamReader streamReader)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.