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 invalid input: '<'soap:body> invalid input: '<'/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, String id, 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
- Throws:
AxisFault
-
processElementforRefs
public org.apache.axiom.om.OMElement processElementforRefs(org.apache.axiom.om.OMElement elemnts) throws AxisFault - Throws:
AxisFault
-
processRef
- Throws:
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 AxisFault this method is used to process the href attributes which may comes with the incomming soap mesaage invalid input: '<'soap:body> 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.the real argument blue - Parameters:
soapEnvelope-- Throws:
AxisFault
-
processHrefAttributes
public static void processHrefAttributes(Map idAndOMElementMap, org.apache.axiom.om.OMElement elementToProcess, org.apache.axiom.om.OMFactory omFactory) throws AxisFault - Throws:
AxisFault
-
getClonedOMElement
public static org.apache.axiom.om.OMElement getClonedOMElement(org.apache.axiom.om.OMElement omElement, org.apache.axiom.om.OMFactory omFactory) throws AxisFault returns an cloned om element for this OMElement- Parameters:
omElement-- Returns:
- cloned omElement
- Throws:
AxisFault
-