org.xmlpull.mxp1
Class MXParserFactory
java.lang.Object
|
+--org.xmlpull.v1.XmlPullParserFactory
|
+--org.xmlpull.mxp1.MXParserFactory
- public class MXParserFactory
- extends XmlPullParserFactory
Simple facotry to speed up creation process.
- Author:
- Aleksander Slominski
MXParserFactory
public MXParserFactory()
newPullParser
public XmlPullParser newPullParser()
throws XmlPullParserException
- Description copied from class:
XmlPullParserFactory
- Creates a new instance of a XML Pull Parser
using the currently configured factory features.
- Overrides:
newPullParser
in class XmlPullParserFactory
- Returns:
- A new instance of a XML Pull Parser.
- Throws:
XmlPullParserException
- if a parser cannot be created which satisfies the
requested configuration.
newSerializer
public XmlSerializer newSerializer()
throws XmlPullParserException
- Description copied from class:
XmlPullParserFactory
- Creates a new instance of a XML Serializer.
NOTE: factory features are not used for XML Serializer.
- Overrides:
newSerializer
in class XmlPullParserFactory
- Returns:
- A new instance of a XML Serializer.
- Throws:
XmlPullParserException
- if a parser cannot be created which satisfies the
requested configuration.
Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.