|
|||||||||||
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(SOAPEnvelope env)
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 SOAPEnvelope |
getSOAPEnvelopeFromDOOMDocument(DocumentImpl doc)
|
static Element |
toDOM(OMElement element)
Converts a given OMElement to a DOM Element. |
static 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(SOAPEnvelope env) throws org.apache.ws.security.WSSecurityException
env
- An org.apache.axis2.soap.SOAPEnvelope instance
Exception
org.apache.ws.security.WSSecurityException
public static SOAPEnvelope getSOAPEnvelopeFromDOOMDocument(DocumentImpl doc)
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 OMElement toOM(Element element) throws Exception
element
-
Exception
public static Element toDOM(OMElement element) throws Exception
element
-
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |