mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
Improve javadoc of getIQChildElementBuilder()
This commit is contained in:
parent
3e924ff2bb
commit
3c2dd9b9e6
1 changed files with 4 additions and 4 deletions
|
@ -163,9 +163,9 @@ public abstract class IQ extends Stanza {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method must be overwritten by IQ subclasses to create their child content. It is important that the builder
|
* This method must be overwritten by IQ subclasses to create their child content. It is important you don't use the builder
|
||||||
* <b>does not include the final end element</b>. This will be done automatically by IQChildelementXmlStringBuilder
|
* <b>to add the final end tag</b>. This will be done automatically by {@link IQChildElementXmlStringBuilder}
|
||||||
* after eventual existing stanza(/packet) extensions have been added.
|
* after eventual existing {@link ExtensionElement}s have been added.
|
||||||
* <p>
|
* <p>
|
||||||
* For example to create an IQ with a extra attribute and an additional child element
|
* For example to create an IQ with a extra attribute and an additional child element
|
||||||
* </p>
|
* </p>
|
||||||
|
@ -195,7 +195,7 @@ public abstract class IQ extends Stanza {
|
||||||
* xml.attribute("myAttribute", "myAttributeValue");
|
* xml.attribute("myAttribute", "myAttributeValue");
|
||||||
* xml.setEmptyElement();
|
* xml.setEmptyElement();
|
||||||
* </pre>
|
* </pre>
|
||||||
* If your IQ does not contain any attributes or child elements (besides stanza(/packet) extensions), consider sub-classing
|
* If your IQ does not contain any attributes or child elements (besides {@link ExtensionElement}s), consider sub-classing
|
||||||
* {@link SimpleIQ} instead.
|
* {@link SimpleIQ} instead.
|
||||||
*
|
*
|
||||||
* @param xml a pre-created builder which already has the child element and the 'xmlns' attribute set.
|
* @param xml a pre-created builder which already has the child element and the 'xmlns' attribute set.
|
||||||
|
|
Loading…
Reference in a new issue