28 lines
722 B
C++
28 lines
722 B
C++
#include "xml/XMLHelper.hpp"
|
|
#include "LPLaunch.hpp"
|
|
|
|
void LPLaunch::appendData(XMLWriter* xmlWriter, DOMElement* addElement)
|
|
{
|
|
DOMElement* lpDataElement = xmlWriter->appendChild(addElement, "launch");
|
|
XMLHelper::setTextContent(xmlWriter->appendChild(lpDataElement, "phase"), phase);
|
|
XMLHelper::setTextContent(xmlWriter->appendChild(lpDataElement, "status"), status);
|
|
|
|
|
|
}
|
|
void LPLaunch::createXMLElement(XMLWriter* xmlWriter, DOMElement* addElement)
|
|
{
|
|
|
|
|
|
}
|
|
std::string& LPLaunch::getURI() const
|
|
{
|
|
static std::string uri = "urn:ietf:params:xml:ns:launch-1.0";
|
|
return uri;
|
|
}
|
|
|
|
std::string& LPLaunch::getSchemaLocation() const
|
|
{
|
|
static std::string loc = "urn:ietf:params:xml:ns:launch-1.0 launch-1.0.xsd";
|
|
return loc;
|
|
}
|