diff options
author | Narayan Kamath <narayan@google.com> | 2013-10-18 10:06:55 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2013-10-18 10:06:55 +0100 |
commit | abd0b0a515b8f279a20c2f20502ee15562edff74 (patch) | |
tree | d8ae31bb8b1ea715ea860596d2bad0432d01adbb /xml/src/main | |
parent | 8a9be4c2b60bd21ed11b312c2875598a962088a3 (diff) | |
download | libcore-abd0b0a515b8f279a20c2f20502ee15562edff74.zip libcore-abd0b0a515b8f279a20c2f20502ee15562edff74.tar.gz libcore-abd0b0a515b8f279a20c2f20502ee15562edff74.tar.bz2 |
Fix build.
Bring back fields that were never used but are public APIs.
Change-Id: I81d312f53745c03da450f599070ae0f5ddd5a81a
Diffstat (limited to 'xml/src/main')
-rw-r--r-- | xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java b/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java index d08c342..32e4f20 100644 --- a/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java +++ b/xml/src/main/java/org/xmlpull/v1/XmlPullParserFactory.java @@ -6,6 +6,7 @@ package org.xmlpull.v1; import org.kxml2.io.KXmlParser; import org.kxml2.io.KXmlSerializer; +import java.util.ArrayList; import java.util.HashMap; import java.util.Map; @@ -19,13 +20,22 @@ import java.util.Map; */ public class XmlPullParserFactory { + // TODO: Deprecate or remove these fields. They're currently unused + // but are public APIs. + /** Currently unused. */ - // TODO: Deprecate or remove this field. public static final String PROPERTY_NAME = "org.xmlpull.v1.XmlPullParserFactory"; + /** Currently unused */ + protected String classNamesLocation = null; + /** Currently unused */ + protected ArrayList parserClasses = null; + /** Currently unused */ + protected ArrayList serializerClasses = null; // features are kept there - protected final HashMap<String, Boolean> features = new HashMap<String, Boolean>(); + // TODO: This can't be made final because it's a public API. + protected HashMap<String, Boolean> features = new HashMap<String, Boolean>(); /** * Protected constructor to be called by factory implementations. |