|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rampart.util.Axis2Util
public class Axis2Util
Utility class for the Axis2-WSS4J Module
Constructor Summary | |
---|---|
Axis2Util()
|
Method Summary | |
---|---|
static org.w3c.dom.Document |
getDocumentFromSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope env,
boolean useDoom)
Creates a DOM Document using the SOAP Envelope. |
static java.lang.String |
getKey(java.lang.String originalKey,
boolean inHandler,
int repetition)
Provides the appropriate key to pickup config params from the message context. |
static org.apache.axiom.soap.SOAPEnvelope |
getSOAPEnvelopeFromDOMDocument(org.w3c.dom.Document doc,
boolean useDoom)
|
static boolean |
isUseDOOM()
|
static org.apache.axiom.om.OMElement |
toDOOM(org.apache.axiom.om.OMFactory factory,
org.apache.axiom.om.OMElement element)
This will build a DOOM Element that is of the same Document |
static void |
useDOOM(boolean isDOOMRequired)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Axis2Util()
Method Detail |
---|
public static boolean isUseDOOM()
public static void useDOOM(boolean isDOOMRequired)
public static org.w3c.dom.Document getDocumentFromSOAPEnvelope(org.apache.axiom.soap.SOAPEnvelope env, boolean useDoom) throws org.apache.ws.security.WSSecurityException
env
- An org.apache.axiom.soap.SOAPEnvelope instance
java.lang.Exception
org.apache.ws.security.WSSecurityException
public static org.apache.axiom.soap.SOAPEnvelope getSOAPEnvelopeFromDOMDocument(org.w3c.dom.Document doc, boolean useDoom) throws org.apache.ws.security.WSSecurityException
org.apache.ws.security.WSSecurityException
public static java.lang.String getKey(java.lang.String originalKey, boolean inHandler, int repetition)
originalKey
- The default keyinHandler
- Whether the handler is the inflow handler or notrepetition
- The current repetition number
public static org.apache.axiom.om.OMElement toDOOM(org.apache.axiom.om.OMFactory factory, org.apache.axiom.om.OMElement element)
Document
factory
- element
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |