|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmlpull.v1.XmlPullParserFactory
org.xmlpull.mxp1.MXParserFactory
public class MXParserFactory
Simple facotry to speed up creation process.
Field Summary | |
---|---|
protected static boolean |
stringCachedParserAvailable
|
Fields inherited from class org.xmlpull.v1.XmlPullParserFactory |
---|
classNamesLocation, features, parserClasses, PROPERTY_NAME, serializerClasses |
Constructor Summary | |
---|---|
MXParserFactory()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.xmlpull.v1.XmlPullParserFactory |
---|
getFeature, isNamespaceAware, isValidating, newInstance, newInstance, setFeature, setNamespaceAware, setValidating |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static boolean stringCachedParserAvailable
Constructor Detail |
---|
public MXParserFactory()
Method Detail |
---|
public XmlPullParser newPullParser() throws XmlPullParserException
org.xmlpull.v1.XmlPullParserFactory
newPullParser
in class XmlPullParserFactory
XmlPullParserException
- if a parser cannot be created which satisfies the
requested configuration.public XmlSerializer newSerializer() throws XmlPullParserException
org.xmlpull.v1.XmlPullParserFactory
NOTE: factory features are not used for XML Serializer.
newSerializer
in class XmlPullParserFactory
XmlPullParserException
- if a parser cannot be created which satisfies the
requested configuration.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |