|
@@ -3,7 +3,7 @@
|
|
* Company: Lynar Studios
|
|
* Company: Lynar Studios
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
* Created: 2020-09-29
|
|
* Created: 2020-09-29
|
|
- * Changed: 2023-02-23
|
|
|
|
|
|
+ * Changed: 2023-05-17
|
|
*
|
|
*
|
|
* */
|
|
* */
|
|
|
|
|
|
@@ -20,17 +20,17 @@ XmlDeclaration::XmlDeclaration(const string &_version) : ls::std::core::Class("X
|
|
|
|
|
|
XmlDeclaration::~XmlDeclaration() noexcept = default;
|
|
XmlDeclaration::~XmlDeclaration() noexcept = default;
|
|
|
|
|
|
-string XmlDeclaration::getEncoding()
|
|
|
|
|
|
+string XmlDeclaration::getEncoding() const
|
|
{
|
|
{
|
|
return this->encoding.getValue();
|
|
return this->encoding.getValue();
|
|
}
|
|
}
|
|
|
|
|
|
-string XmlDeclaration::getStandalone()
|
|
|
|
|
|
+string XmlDeclaration::getStandalone() const
|
|
{
|
|
{
|
|
return this->standalone.getValue();
|
|
return this->standalone.getValue();
|
|
}
|
|
}
|
|
|
|
|
|
-string XmlDeclaration::getVersion()
|
|
|
|
|
|
+string XmlDeclaration::getVersion() const
|
|
{
|
|
{
|
|
return this->version.getValue();
|
|
return this->version.getValue();
|
|
}
|
|
}
|
|
@@ -50,7 +50,7 @@ void XmlDeclaration::setVersion(const string &_version)
|
|
this->version.setValue(_version);
|
|
this->version.setValue(_version);
|
|
}
|
|
}
|
|
|
|
|
|
-string XmlDeclaration::toXml()
|
|
|
|
|
|
+string XmlDeclaration::toXml() const
|
|
{
|
|
{
|
|
string declaration = "<?xml";
|
|
string declaration = "<?xml";
|
|
|
|
|
|
@@ -61,7 +61,7 @@ string XmlDeclaration::toXml()
|
|
return declaration + " ?>";
|
|
return declaration + " ?>";
|
|
}
|
|
}
|
|
|
|
|
|
-string XmlDeclaration::_toXmlAttribute(XmlAttribute _attribute)
|
|
|
|
|
|
+string XmlDeclaration::_toXmlAttribute(const XmlAttribute &_attribute)
|
|
{
|
|
{
|
|
string xmlString{};
|
|
string xmlString{};
|
|
|
|
|