mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 11:38:00 +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());
|
||||
}
|
||||
|
||||
public XmlStringBuilder prelude(FullyQualifiedElement pe) {
|
||||
protected XmlStringBuilder prelude(FullyQualifiedElement pe) {
|
||||
return prelude(pe.getElementName(), pe.getNamespace());
|
||||
}
|
||||
|
||||
public XmlStringBuilder prelude(String elementName, String namespace) {
|
||||
protected XmlStringBuilder prelude(String elementName, String namespace) {
|
||||
halfOpenElement(elementName);
|
||||
xmlnsAttribute(namespace);
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue