mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-19 10:32:05 +01:00
[smack-core] Fix javadoc of EmbeddedExtensionProvider
This commit is contained in:
parent
65c363b19d
commit
ba5c2e46d8
1 changed files with 3 additions and 2 deletions
|
@ -41,9 +41,9 @@ import org.jivesoftware.smack.xml.XmlPullParserException;
|
|||
* <b>smack.properties</b> file. Then they will be automatically picked up and used to parse
|
||||
* any child elements.
|
||||
*
|
||||
* <pre>
|
||||
* For example, given the following message
|
||||
*
|
||||
* <pre>
|
||||
* <message from='pubsub.shakespeare.lit' to='francisco@denmark.lit' id='foo>
|
||||
* <event xmlns='http://jabber.org/protocol/pubsub#event>
|
||||
* <items node='princely_musings'>
|
||||
|
@ -57,6 +57,7 @@ import org.jivesoftware.smack.xml.XmlPullParserException;
|
|||
* </items>
|
||||
* </event>
|
||||
* </message>
|
||||
* </pre>
|
||||
*
|
||||
* I would have a classes
|
||||
* <code>ItemsProvider</code> extends {@link EmbeddedExtensionProvider}
|
||||
|
@ -67,6 +68,7 @@ import org.jivesoftware.smack.xml.XmlPullParserException;
|
|||
* These classes are then registered in the meta-inf/smack.providers file
|
||||
* as follows.
|
||||
*
|
||||
* <pre>
|
||||
* <extensionProvider>
|
||||
* <elementName>items</elementName>
|
||||
* <namespace>http://jabber.org/protocol/pubsub#event</namespace>
|
||||
|
@ -77,7 +79,6 @@ import org.jivesoftware.smack.xml.XmlPullParserException;
|
|||
* <namespace>http://jabber.org/protocol/pubsub#event</namespace>
|
||||
* <className>org.jivesoftware.smackx.provider.ItemProvider</className>
|
||||
* </extensionProvider>
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author Robin Collier
|
||||
|
|
Loading…
Reference in a new issue