1#ifndef XML_bpmn_tDocumentation_H
2#define XML_bpmn_tDocumentation_H
29 static bool registerClass() {
33 inline static bool registered = registerClass();
44 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"textFormat", .value =
Value(std::string(
"text/plain"))}
47 std::optional< std::reference_wrapper<Attribute> >
id;
48 std::optional< std::reference_wrapper<Attribute> >
textFormat;
const ClassName className
XMLObject(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > id
Attribute value can be expected to be of type 'std::string'.
friend XMLObject * XML::createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
friend class tBaseElementWithMixedContent
friend class tBaseElement
std::optional< std::reference_wrapper< Attribute > > textFormat
Attribute value can be expected to be of type 'std::string'.
tDocumentation(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
std::vector< Attribute > Attributes
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
A struct representing the value of an XML-node attribute.