|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.security.util.Axis2Util
Utility class for the Axis2-WSS4J Module
Constructor Summary | |
Axis2Util()
|
Method Summary | |
static Document |
getDocumentFromSOAPEnvelope(org.apache.ws.commons.soap.SOAPEnvelope env,
boolean disableDoom)
Creates a DOM Document using the SOAP Envelope. |
static String |
getKey(String originalKey,
boolean inHandler,
int repetition)
Provides the appropriate key to pickup config params from the message context. |
static org.apache.ws.commons.soap.SOAPEnvelope |
getSOAPEnvelopeFromDOOMDocument(Document doc,
boolean disableDoom)
|
static Element |
toDOM(org.apache.ws.commons.om.OMElement element)
Converts a given OMElement to a DOM Element. |
static org.apache.ws.commons.om.OMElement |
toOM(Element element)
Converts a given DOM Element to an OMElement. |
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 Document getDocumentFromSOAPEnvelope(org.apache.ws.commons.soap.SOAPEnvelope env, boolean disableDoom) throws org.apache.ws.security.WSSecurityException
env
- An org.apache.ws.commons.soap.SOAPEnvelope instance
Exception
org.apache.ws.security.WSSecurityException
public static org.apache.ws.commons.soap.SOAPEnvelope getSOAPEnvelopeFromDOOMDocument(Document doc, boolean disableDoom)
public static String getKey(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.ws.commons.om.OMElement toOM(Element element) throws Exception
element
-
Exception
public static Element toDOM(org.apache.ws.commons.om.OMElement element) throws Exception
element
-
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |