XmlPullParserFactory

Class of org.xmlpull.v1 · XmlPullParserFactory.java · Android's reference

public class XmlPullParserFactory

XmlPull's factory of parsers and serializers, as Android's: each parser is the framework's text parser (android.util.Xml.newPullParser), with the features set on the factory, and each serializer its text serializer.

Fields

public static final String PROPERTY_NAME = "org.xmlpull.v1.XmlPullParserFactory" source
protected final Map<String, Boolean> features source

Constructors

protected XmlPullParserFactory() empty body source

Methods

public static XmlPullParserFactory newInstance() throws XmlPullParserException source
public static XmlPullParserFactory newInstance(String classNames, Class context) throws XmlPullParserException source
public void setFeature(String name, boolean state) throws XmlPullParserException source
public boolean getFeature(String name) source
public void setNamespaceAware(boolean awareness) source
public boolean isNamespaceAware() source
public void setValidating(boolean validating) source
public boolean isValidating() source
public XmlPullParser newPullParser() throws XmlPullParserException source
public XmlSerializer newSerializer() throws XmlPullParserException source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.