mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-27 14:32:06 +01:00
Return XmlStringBuilder instead of CharSequence
This commit is contained in:
parent
225a8fa29d
commit
6749a1d9d9
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ public class DataExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CharSequence toXML(XmlEnvironment xmlEnvironment) {
|
||||
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment) {
|
||||
XmlStringBuilder xml = new XmlStringBuilder(this, xmlEnvironment);
|
||||
xml.rightAngleBracket();
|
||||
xml.escape(this.getDataAsString());
|
||||
|
|
|
@ -101,7 +101,7 @@ public class MetadataExtension implements ExtensionElement {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CharSequence toXML(XmlEnvironment xmlEnvironment) {
|
||||
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment) {
|
||||
XmlStringBuilder xml = new XmlStringBuilder(this, xmlEnvironment);
|
||||
appendInfoElements(xml);
|
||||
appendPointerElements(xml);
|
||||
|
|
Loading…
Reference in a new issue