Class AXIOMUtils


  • public class AXIOMUtils
    extends Object
    Utility class with AXIOM helper methods.
    • Method Detail

      • asSource

        public static Source asSource​(org.apache.axiom.om.OMNode node)
        Get a Source backed by a given AXIOM node.
        Parameters:
        node - an AXIOM node
        Returns:
        a Source object that can be used with XSL transformers, schema validators, etc.
      • getSOAPEnvFromOM

        public static org.apache.axiom.soap.SOAPEnvelope getSOAPEnvFromOM​(org.apache.axiom.om.OMElement omElement)
        Parameters:
        omElement - OMElement which need to convert to SOAPEnvelope
        Returns:
        SOAPEnvelope with contents of passed OMElement