Back to project page TumblifeForAndroid.
The source code is released under:
GNU General Public License
If you think the Android project TumblifeForAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jp.mitukiii.tumblife.parser; /*from w ww. j av a2 s . c o m*/ import java.io.InputStream; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; abstract public class TLParser { protected XmlPullParser parser; public static final String NAME_SPACE = null; public TLParser(InputStream input) throws XmlPullParserException { XmlPullParserFactory factory = XmlPullParserFactory.newInstance(); factory.setValidating(false); parser = factory.newPullParser(); parser.setInput(input, null); } }