public class SOAPFaultBuilder extends SOAPHandler implements Callback
Modifier and Type | Field and Description |
---|---|
protected SOAPFaultCodeBuilder |
code |
protected DeserializationContext |
context |
protected SOAPFault |
element |
protected String |
faultActor |
protected Class |
faultClass |
protected QName |
faultCode |
protected Object |
faultData |
protected Element[] |
faultDetails |
protected String |
faultNode |
protected String |
faultString |
protected QName[] |
faultSubCode |
myElement
Constructor and Description |
---|
SOAPFaultBuilder(SOAPFault element,
DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String namespace,
String localName,
DeserializationContext context)
Final call back where we can populate the exception with data.
|
void |
onEndChild(String namespace,
String localName,
DeserializationContext context) |
SOAPHandler |
onStartChild(String namespace,
String name,
String prefix,
Attributes attributes,
DeserializationContext context) |
void |
setFaultClass(Class faultClass) |
void |
setValue(Object value,
Object hint) |
void |
startElement(String namespace,
String localName,
String prefix,
Attributes attributes,
DeserializationContext context) |
characters, makeNewElement
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected SOAPFault element
protected DeserializationContext context
protected QName faultCode
protected QName[] faultSubCode
protected String faultString
protected String faultActor
protected Element[] faultDetails
protected String faultNode
protected SOAPFaultCodeBuilder code
protected Class faultClass
protected Object faultData
public SOAPFaultBuilder(SOAPFault element, DeserializationContext context)
public void startElement(String namespace, String localName, String prefix, Attributes attributes, DeserializationContext context) throws SAXException
startElement
in class SOAPHandler
SAXException
public void setFaultClass(Class faultClass)
public void endElement(String namespace, String localName, DeserializationContext context) throws SAXException
endElement
in class SOAPHandler
SAXException
public SOAPHandler onStartChild(String namespace, String name, String prefix, Attributes attributes, DeserializationContext context) throws SAXException
onStartChild
in class SOAPHandler
SAXException
public void onEndChild(String namespace, String localName, DeserializationContext context) throws SAXException
onEndChild
in class SOAPHandler
SAXException
Copyright © The Apache Software Foundation. All Rights Reserved.