* @param targetElement the Element into which the XMLObject is marshalled into\r
* @throws MarshallingException thrown if there is a problem marshalling the object\r
*/\r
- void marshallInto(XMLObject* xmlObject, DOMElement* targetElement) const;\r
+ void marshallInto(XMLObject& xmlObject, DOMElement* targetElement) const;\r
\r
/**\r
* Creates an xsi:type attribute, corresponding to the given type of the XMLObject, on the DOM element.\r
* @throws MarshallingException thrown if the type on the XMLObject is doesn't contain\r
* a local name, prefix, and namespace URI\r
*/\r
- void marshallElementType(XMLObject* xmlObject, DOMElement* domElement) const;\r
+ void marshallElementType(XMLObject& xmlObject, DOMElement* domElement) const;\r
\r
/**\r
* Creates the xmlns attributes for any namespaces set on the given XMLObject.\r
* @param xmlObject the XMLObject\r
* @param domElement the DOM element the namespaces will be added to\r
*/\r
- void marshallNamespaces(const XMLObject* xmlObject, DOMElement* domElement) const;\r
+ void marshallNamespaces(const XMLObject& xmlObject, DOMElement* domElement) const;\r
\r
/**\r
* Marshalls the child elements of the given XMLObject.\r
* \r
* @throws MarshallingException thrown if there is a problem marshalling a child element\r
*/\r
- void marshallChildElements(const XMLObject* xmlObject, DOMElement* domElement) const;\r
+ void marshallChildElements(const XMLObject& xmlObject, DOMElement* domElement) const;\r
\r
/**\r
* Marshalls the attributes from the given XMLObject into the given DOM element.\r
* \r
* @throws UnmarshallingException thrown if there is a problem unmarshalling an attribute\r
*/\r
- virtual void marshallAttributes(const XMLObject* xmlObject, DOMElement* domElement) const=0;\r
+ virtual void marshallAttributes(const XMLObject& xmlObject, DOMElement* domElement) const=0;\r
\r
/**\r
* Marshalls data from the XMLObject into content of the DOM Element.\r
* @param xmlObject the XMLObject\r
* @param domElement the DOM element recieving the content\r
*/\r
- virtual void marshallElementContent(const XMLObject* xmlObject, DOMElement* domElement) const=0;\r
+ virtual void marshallElementContent(const XMLObject& xmlObject, DOMElement* domElement) const=0;\r
\r
void* m_log;\r
private:\r