mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
Make XmlStringBuilder.prelude() protected
as the user should never be required to call it.
This commit is contained in:
parent
a36e74832e
commit
85ef149c83
1 changed files with 2 additions and 2 deletions
|
@ -461,11 +461,11 @@ public class XmlStringBuilder implements Appendable, CharSequence, Element {
|
||||||
return escape(text.toString());
|
return escape(text.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlStringBuilder prelude(FullyQualifiedElement pe) {
|
protected XmlStringBuilder prelude(FullyQualifiedElement pe) {
|
||||||
return prelude(pe.getElementName(), pe.getNamespace());
|
return prelude(pe.getElementName(), pe.getNamespace());
|
||||||
}
|
}
|
||||||
|
|
||||||
public XmlStringBuilder prelude(String elementName, String namespace) {
|
protected XmlStringBuilder prelude(String elementName, String namespace) {
|
||||||
halfOpenElement(elementName);
|
halfOpenElement(elementName);
|
||||||
xmlnsAttribute(namespace);
|
xmlnsAttribute(namespace);
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in a new issue