Public Member Functions | Protected Member Functions

xmltooling::AbstractAttributeExtensibleXMLObject Class Reference

AbstractXMLObject mixin that implements AttributeExtensibleXMLObject. More...

#include <xmltooling/AbstractAttributeExtensibleXMLObject.h>

Inheritance diagram for xmltooling::AbstractAttributeExtensibleXMLObject:
Inheritance graph
[legend]
Collaboration diagram for xmltooling::AbstractAttributeExtensibleXMLObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const XMLCh * getAttribute (const QName &qualifiedName) const
void setAttribute (const QName &qualifiedName, const XMLCh *value, bool ID=false)
const std::map< QName, XMLCh * > & getExtensionAttributes () const
const XMLCh * getXMLID () const
 Gets the value of the ID attribute set on this object, if any.

Protected Member Functions

 AbstractAttributeExtensibleXMLObject (const AbstractAttributeExtensibleXMLObject &src)
 Copy constructor.
void unmarshallExtensionAttribute (const xercesc::DOMAttr *attribute)
 Assists in the unmarshalling of extension attributes.
void marshallExtensionAttributes (xercesc::DOMElement *domElement) const
 Assists in the marshalling of extension attributes.

Detailed Description

AbstractXMLObject mixin that implements AttributeExtensibleXMLObject.

Inherit from this class to add support for attribute wildcarding.


Constructor & Destructor Documentation

xmltooling::AbstractAttributeExtensibleXMLObject::AbstractAttributeExtensibleXMLObject ( const AbstractAttributeExtensibleXMLObject src  )  [protected]

Copy constructor.


Member Function Documentation

const XMLCh* xmltooling::AbstractAttributeExtensibleXMLObject::getXMLID (  )  const [virtual]

Gets the value of the ID attribute set on this object, if any.

Returns:
an ID value or nullptr

Reimplemented from xmltooling::AbstractXMLObject.

void xmltooling::AbstractAttributeExtensibleXMLObject::marshallExtensionAttributes ( xercesc::DOMElement *  domElement  )  const [protected]

Assists in the marshalling of extension attributes.

Parameters:
domElement the DOM element against which to marshall the attributes
void xmltooling::AbstractAttributeExtensibleXMLObject::unmarshallExtensionAttribute ( const xercesc::DOMAttr *  attribute  )  [protected]

Assists in the unmarshalling of extension attributes.

Parameters:
attribute the DOM attribute node being unmarshalled

The documentation for this class was generated from the following file: