diff --git a/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java b/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java index 3525e26b7..4b1c7b778 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/provider/EmbeddedExtensionProvider.java @@ -41,9 +41,9 @@ import org.jivesoftware.smack.xml.XmlPullParserException; * smack.properties file. Then they will be automatically picked up and used to parse * any child elements. * - *
* For example, given the following message * + ** <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> + ** * I would have a classes *ItemsProvider
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. * + ** <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> - * ** * @author Robin Collier