Builder for UnknownElementImpl objects. More...
#include <xmltooling/impl/UnknownElement.h>
Public Member Functions | |
XMLObject * | buildObject (const XMLCh *nsURI, const XMLCh *localName, const XMLCh *prefix=0, const QName *schemaType=0) const |
Creates an empty XMLObject with a particular element name. |
Builder for UnknownElementImpl objects.
Use as the default builder when you want unknown DOM content treated as raw/ignored XML.
XMLObject* xmltooling::UnknownElementBuilder::buildObject | ( | const XMLCh * | nsURI, | |
const XMLCh * | localName, | |||
const XMLCh * | prefix = 0 , |
|||
const QName * | schemaType = 0 | |||
) | const [virtual] |
Creates an empty XMLObject with a particular element name.
The results are undefined if localName is nullptr or empty.
The caller is responsible for freeing the resulting object.
nsURI | namespace URI for element | |
localName | local name of element | |
prefix | prefix of element name | |
schemaType | xsi:type of the object |
Implements xmltooling::XMLObjectBuilder.