Class Overview
The MessageUtils helps to manage marshaling and unmarshaling of QBO objects.
getXMLDocument method converts the object to the XML String to send to IDS.
ParseResponse extracts the response CDM object or Error Object from the response XML.
Summary
|
[Expand]
Inherited Methods |
From class
org.mule.modules.quickbooks.utils.MessageUtils
|
JAXBElement
|
createJaxbElement(Object obj)
|
|
Marshaller
|
createMarshaller()
Create Marshaller from the JAXB context.
|
|
Unmarshaller
|
createUnmarshaller()
Create UnMarshaller from the JAXB context.
|
|
abstract
JAXBContext
|
getJaxbContext()
|
|
abstract
Object
|
getObjectFactory()
Get object of ObjectFactory class generated using JAXB and XSD
|
|
String
|
getXmlDocument(JAXBElement<? extends Object> objectToMarshall)
This method JAXBElement object to XML String.
|
|
abstract
Object
|
parseResponse(String responseString)
Clients of this method must make their own determination as to the contents of the response.
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
Public Methods
public
Object
parseResponse
(String responseString)
Clients of this method must make their own determination as to the contents of the response.
Generally this can be safely achieved by checking the instanceof.
Returns
- The unmarshalled response object.
Protected Methods
protected
JAXBContext
getJaxbContext
()
protected
Object
getObjectFactory
()
Get object of ObjectFactory class generated using JAXB and XSD
Returns
- ObjectFactory Class object.