Class MultirefHelper

java.lang.Object
org.apache.axis2.databinding.utils.MultirefHelper

public class MultirefHelper extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MultirefHelper(org.apache.axiom.om.OMElement parent)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static String
    getAttvalue(org.apache.axiom.om.OMAttribute omatribute)
     
    static org.apache.axiom.om.OMElement
    getClonedOMElement(org.apache.axiom.om.OMElement omElement, org.apache.axiom.om.OMFactory omFactory)
    returns an cloned om element for this OMElement
     
    org.apache.axiom.om.OMElement
     
    org.apache.axiom.om.OMElement
    processElementforRefs(org.apache.axiom.om.OMElement elemnts)
     
    static void
    processHrefAttributes(Map idAndOMElementMap, org.apache.axiom.om.OMElement elementToProcess, org.apache.axiom.om.OMFactory omFactory)
     
    static void
    processHrefAttributes(org.apache.axiom.soap.SOAPEnvelope soapEnvelope)
    this method is used to process the href attributes which may comes with the incomming soap mesaage invalid input: '<'soap:body> the real argument blue invalid input: '<'/soap:body> here we assume first child of the soap body has the main object structure and others contain the multiref parts.
    org.apache.axiom.om.OMElement
     
    processRef(Class javatype, Type generictype, String id, org.apache.axis2.engine.ObjectSupplier objectSupplier)
     
    processRef(Class javatype, String id, org.apache.axis2.engine.ObjectSupplier objectSupplier)
     
    static org.apache.axiom.om.OMAttribute
    processRefAtt(org.apache.axiom.om.OMElement omElement)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MultirefHelper

      public MultirefHelper(org.apache.axiom.om.OMElement parent)
  • Method Details

    • getObject

      public Object getObject(String id)
    • getOMElement

      public org.apache.axiom.om.OMElement getOMElement(String id)
    • processOMElementRef

      public org.apache.axiom.om.OMElement processOMElementRef(String id) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • processElementforRefs

      public org.apache.axiom.om.OMElement processElementforRefs(org.apache.axiom.om.OMElement elemnts) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • processRef

      public Object processRef(Class javatype, String id, org.apache.axis2.engine.ObjectSupplier objectSupplier) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • processRef

      public Object processRef(Class javatype, Type generictype, String id, org.apache.axis2.engine.ObjectSupplier objectSupplier) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getAttvalue

      public static String getAttvalue(org.apache.axiom.om.OMAttribute omatribute)
    • processRefAtt

      public static org.apache.axiom.om.OMAttribute processRefAtt(org.apache.axiom.om.OMElement omElement)
    • clean

      public void clean()
    • processHrefAttributes

      public static void processHrefAttributes(org.apache.axiom.soap.SOAPEnvelope soapEnvelope) throws org.apache.axis2.AxisFault
      this method is used to process the href attributes which may comes with the incomming soap mesaage invalid input: '<'soap:body> the real argument blue invalid input: '<'/soap:body> here we assume first child of the soap body has the main object structure and others contain the multiref parts. Soap spec says that those multiref parts must be top level elements.
      Parameters:
      soapEnvelope -
      Throws:
      org.apache.axis2.AxisFault
    • processHrefAttributes

      public static void processHrefAttributes(Map idAndOMElementMap, org.apache.axiom.om.OMElement elementToProcess, org.apache.axiom.om.OMFactory omFactory) throws org.apache.axis2.AxisFault
      Throws:
      org.apache.axis2.AxisFault
    • getClonedOMElement

      public static org.apache.axiom.om.OMElement getClonedOMElement(org.apache.axiom.om.OMElement omElement, org.apache.axiom.om.OMFactory omFactory) throws org.apache.axis2.AxisFault
      returns an cloned om element for this OMElement
      Parameters:
      omElement -
      Returns:
      cloned omElement
      Throws:
      org.apache.axis2.AxisFault