com.flat502.rox.marshal.xmlrpc
Class SaxUnmarshaller
java.lang.Object
com.flat502.rox.marshal.xmlrpc.XmlRpcMethodUnmarshaller
com.flat502.rox.marshal.xmlrpc.SaxUnmarshaller
- All Implemented Interfaces:
- MethodUnmarshaller, XmlRpcConstants
public class SaxUnmarshaller
- extends XmlRpcMethodUnmarshaller
Marshal an XML-RPC method call using easy (v1) SAX.
Methods inherited from class com.flat502.rox.marshal.xmlrpc.XmlRpcMethodUnmarshaller |
decodeFieldName, getDateFormat, getDefaultFieldNameCodec, getFieldNameCodec, newDateFormat, newStructObject, parseBase64, parseBoolean, parseDate, parseDouble, parseEnum, parseInt, parseString, parseString, setObjectMember |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaxUnmarshaller
public SaxUnmarshaller(FieldNameCodec codec)
setCallAid
public void setCallAid(MethodCallUnmarshallerAid callAid)
setResponseAid
public void setResponseAid(MethodResponseUnmarshallerAid rspAid)
- Parameters:
rspAid
- An unmarshaller aid implementation.
getMethodName
public java.lang.String getMethodName()
getParams
public java.lang.Object[] getParams()
getResponse
public java.lang.Object getResponse()
getFault
public Fault getFault()
expectRequest
public void expectRequest(boolean expectRequest)
getStructMemberType
protected java.lang.Class getStructMemberType(java.lang.Object structObject,
java.lang.String name)
throws MarshallingException
- Overrides:
getStructMemberType
in class XmlRpcMethodUnmarshaller
- Throws:
MarshallingException
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(java.lang.String element,
org.xml.sax.AttributeList attrs)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String element)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getSaxHandler
public org.xml.sax.HandlerBase getSaxHandler()
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException