Class MultirefHelper
java.lang.Object
org.apache.axis2.databinding.utils.MultirefHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclean()static StringgetAttvalue(org.apache.axiom.om.OMAttribute omatribute) static org.apache.axiom.om.OMElementgetClonedOMElement(org.apache.axiom.om.OMElement omElement, org.apache.axiom.om.OMFactory omFactory) returns an cloned om element for this OMElementorg.apache.axiom.om.OMElementgetOMElement(String id) org.apache.axiom.om.OMElementprocessElementforRefs(org.apache.axiom.om.OMElement elemnts) static voidprocessHrefAttributes(Map idAndOMElementMap, org.apache.axiom.om.OMElement elementToProcess, org.apache.axiom.om.OMFactory omFactory) static voidprocessHrefAttributes(org.apache.axiom.soap.SOAPEnvelope soapEnvelope) this method is used to process the href attributes which may comes with the incomming soap mesaage <soap:body> </soap:body> here we assume first child of the soap body has the main object structure and others contain the multiref parts.the real argument blue org.apache.axiom.om.OMElementprocessRef(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.OMAttributeprocessRefAtt(org.apache.axiom.om.OMElement omElement)
-
Field Details
-
SOAP12_REF_ATTR
- See Also:
-
SOAP11_REF_ATTR
- See Also:
-
-
Constructor Details
-
MultirefHelper
public MultirefHelper(org.apache.axiom.om.OMElement parent)
-
-
Method Details
-
getObject
-
getOMElement
-
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
-
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 <soap:body> </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.the real argument blue - 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
-