public class MXParserFactory extends XmlPullParserFactory
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
stringCachedParserAvailable |
classNamesLocation, features, parserClasses, PROPERTY_NAME, serializerClasses| Constructor and Description |
|---|
MXParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
XmlPullParser |
newPullParser()
Creates a new instance of a XML Pull Parser
using the currently configured factory features.
|
XmlSerializer |
newSerializer()
Creates a new instance of a XML Serializer.
|
getFeature, isNamespaceAware, isValidating, newInstance, newInstance, setFeature, setNamespaceAware, setValidatingpublic XmlPullParser newPullParser() throws XmlPullParserException
XmlPullParserFactorynewPullParser in class XmlPullParserFactoryXmlPullParserException - if a parser cannot be created which satisfies the
requested configuration.public XmlSerializer newSerializer() throws XmlPullParserException
XmlPullParserFactoryNOTE: factory features are not used for XML Serializer.
newSerializer in class XmlPullParserFactoryXmlPullParserException - if a parser cannot be created which satisfies the
requested configuration.Copyright © 2013. All Rights Reserved.