パッケージ org.xmlpull.mxp1
クラス MXParserFactory
- java.lang.Object
-
- org.xmlpull.v1.XmlPullParserFactory
-
- org.xmlpull.mxp1.MXParserFactory
-
public class MXParserFactory extends XmlPullParserFactory
Simple facotry to speed up creation process.- 作成者:
- Aleksander Slominski
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected static booleanstringCachedParserAvailable-
クラスから継承されたフィールド org.xmlpull.v1.XmlPullParserFactory
classNamesLocation, features, parserClasses, PROPERTY_NAME, serializerClasses
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 MXParserFactory()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 XmlPullParsernewPullParser()Creates a new instance of a XML Pull Parser using the currently configured factory features.XmlSerializernewSerializer()Creates a new instance of a XML Serializer.-
クラスから継承されたメソッド org.xmlpull.v1.XmlPullParserFactory
getFeature, isNamespaceAware, isValidating, newInstance, newInstance, setFeature, setNamespaceAware, setValidating
-
-
-
-
メソッドの詳細
-
newPullParser
public XmlPullParser newPullParser() throws XmlPullParserException
クラスからコピーされた説明:XmlPullParserFactoryCreates a new instance of a XML Pull Parser using the currently configured factory features.- オーバーライド:
newPullParserクラス内XmlPullParserFactory- 戻り値:
- A new instance of a XML Pull Parser.
- 例外:
XmlPullParserException- if a parser cannot be created which satisfies the requested configuration.
-
newSerializer
public XmlSerializer newSerializer() throws XmlPullParserException
クラスからコピーされた説明:XmlPullParserFactoryCreates a new instance of a XML Serializer.NOTE: factory features are not used for XML Serializer.
- オーバーライド:
newSerializerクラス内XmlPullParserFactory- 戻り値:
- A new instance of a XML Serializer.
- 例外:
XmlPullParserException- if a parser cannot be created which satisfies the requested configuration.
-
-