public class SOAPResponseEncodedParser extends AbstractSOAPResponseParser
Modifier and Type | Field and Description |
---|---|
protected List<TypeDescriptor> |
outputDescriptors |
Constructor and Description |
---|
SOAPResponseEncodedParser(List<TypeDescriptor> outputDescriptors) |
Modifier and Type | Method and Description |
---|---|
protected Node |
getOutputNode(Element mainBody,
String outputName) |
boolean |
getStripAttributes() |
Map |
parse(List<SOAPElement> response)
Parses the response into a single XML document, which is placed in the
outputMap together with the given output name.
|
protected Element |
removeNamespace(String outputName,
Element element)
Removes the namespace from the surrounding element that represents the
outputName.
|
void |
setStripAttributes(boolean stripAttributes)
determines whether attributes in the resulting XML should be stripped
out, including namespace definitions, leading to XML that is much easier
to read.
|
protected void |
stripAttributes(Node node) |
toString
protected List<TypeDescriptor> outputDescriptors
public SOAPResponseEncodedParser(List<TypeDescriptor> outputDescriptors)
public Map parse(List<SOAPElement> response) throws Exception
List
- Exception
protected Element removeNamespace(String outputName, Element element) throws ParserConfigurationException, SAXException, IOException
outputName
- element
- ParserConfigurationException
IOException
SAXException
protected void stripAttributes(Node node)
public void setStripAttributes(boolean stripAttributes)
stripAttributes
- public boolean getStripAttributes()
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.