#include <xmltooling/io/AbstractXMLObjectMarshaller.h>
Inheritance diagram for xmltooling::AbstractXMLObjectMarshaller:

Public Member Functions | |
| xercesc::DOMElement * | marshall (xercesc::DOMDocument *document=0, const std::vector< xmlsignature::Signature * > *sigs=0, const Credential *credential=0) const |
| Marshalls the XMLObject, and its children, into a DOM element. | |
| xercesc::DOMElement * | marshall (xercesc::DOMElement *parentElement, const std::vector< xmlsignature::Signature * > *sigs=0, const Credential *credential=0) const |
| Marshalls the XMLObject and appends it as a child of the given parent element. | |
Protected Member Functions | |
| void | setDocumentElement (xercesc::DOMDocument *document, xercesc::DOMElement *element) const |
| Sets the given element as the Document Element of the given Document. | |
| void | marshallInto (xercesc::DOMElement *targetElement, const std::vector< xmlsignature::Signature * > *sigs, const Credential *credential=0) const |
| Marshalls the XMLObject into the given DOM Element. | |
| void | marshallElementType (xercesc::DOMElement *domElement) const |
| Creates an xsi:type attribute, corresponding to the given type of the XMLObject, on the DOM element. | |
| void | marshallNamespaces (xercesc::DOMElement *domElement) const |
| Creates the xmlns attributes for any namespaces set on the XMLObject. | |
| void | marshallContent (xercesc::DOMElement *domElement, const Credential *credential) const |
| Marshalls the text content and/or child elements of the XMLObject. | |
| virtual void | marshallAttributes (xercesc::DOMElement *domElement) const |
| Marshalls the attributes from the XMLObject into the given DOM element. | |
| virtual void | prepareForMarshalling () const |
| Called before marshalling in the event that a new DOM is being generated. | |
|
||||||||||||||||
|
Marshalls the XMLObject and appends it as a child of the given parent element. NOTE: The given Element must be within a DOM tree rooted in the Document owning the given Element.
Implements xmltooling::XMLObject. |
|
||||||||||||||||
|
Marshalls the XMLObject, and its children, into a DOM element. If a document is supplied, then it will be used to create the resulting elements. If the document does not have a Document Element set, then the resulting element will be set as the Document Element. If no document is supplied, then a new document will be created and bound to the lifetime of the root object being marshalled, unless an existing DOM can be reused without creating a new document.
Implements xmltooling::XMLObject. |
|
|
Marshalls the attributes from the XMLObject into the given DOM element.
|
|
||||||||||||
|
Marshalls the text content and/or child elements of the XMLObject.
|
|
|
Creates an xsi:type attribute, corresponding to the given type of the XMLObject, on the DOM element.
|
|
||||||||||||||||
|
Marshalls the XMLObject into the given DOM Element. The DOM Element must be within a DOM tree rooted in the owning Document.
|
|
|
Creates the xmlns attributes for any namespaces set on the XMLObject.
|
|
|
Called before marshalling in the event that a new DOM is being generated. Allows objects to adjust internal state prior to the marshalling step. |
|
||||||||||||
|
Sets the given element as the Document Element of the given Document. If the document already has a Document Element it is replaced by the given element.
|
1.4.6