#include <xmltooling/io/AbstractXMLObjectUnmarshaller.h>
Inheritance diagram for xmltooling::AbstractXMLObjectUnmarshaller:
Public Member Functions | |
XMLObject * | unmarshall (xercesc::DOMElement *element, bool bindDocument=false) |
Unmarshalls the given W3C DOM element into the XMLObject. | |
Protected Member Functions | |
virtual void | unmarshallAttributes (const xercesc::DOMElement *domElement) |
Unmarshalls the attributes from the given DOM Element into the XMLObject. | |
virtual void | unmarshallContent (const xercesc::DOMElement *domElement) |
Unmarshalls a given Element's child nodes. | |
virtual void | processChildElement (XMLObject *child, const xercesc::DOMElement *childRoot) |
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject. | |
virtual void | processAttribute (const xercesc::DOMAttr *attribute) |
Called after an attribute has been unmarshalled so that it can be added to the XMLObject. |
|
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
|
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
|
Unmarshalls the given W3C DOM element into the XMLObject. The root of a given XML construct should be unmarshalled with the bindDocument parameter set to true.
Implements xmltooling::XMLObject. |
|
Unmarshalls the attributes from the given DOM Element into the XMLObject. If the attribute is an XML namespace declaration the namespace is added via XMLObject::addNamespace(). If it is a schema type (xsi:type) the schema type is added via XMLObject::setSchemaType(). All other attributes are passed to the processAttribute hook.
|
|
Unmarshalls a given Element's child nodes. The resulting XMLObject children and content are passed to processChildElement() or processText() for further processing.
|