org.xmlpull.v1.wrapper
Class XmlPullWrapperFactory
java.lang.Object
org.xmlpull.v1.wrapper.XmlPullWrapperFactory
public class XmlPullWrapperFactory
- extends java.lang.Object
Handy functions that combines XmlPull API into higher level functionality.
NOTE: returned wrapper object is not multi-thread safe
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
f
protected XmlPullParserFactory f
XmlPullWrapperFactory
protected XmlPullWrapperFactory(XmlPullParserFactory factory)
throws XmlPullParserException
- Throws:
XmlPullParserException
newInstance
public static XmlPullWrapperFactory newInstance()
throws XmlPullParserException
- Throws:
XmlPullParserException
newInstance
public static XmlPullWrapperFactory newInstance(XmlPullParserFactory factory)
throws XmlPullParserException
- Throws:
XmlPullParserException
newInstance
public static XmlPullWrapperFactory newInstance(java.lang.String classNames,
java.lang.Class context)
throws XmlPullParserException
- Throws:
XmlPullParserException
getFactory
public XmlPullParserFactory getFactory()
throws XmlPullParserException
- Throws:
XmlPullParserException
setFeature
public void setFeature(java.lang.String name,
boolean state)
throws XmlPullParserException
- Throws:
XmlPullParserException
getFeature
public boolean getFeature(java.lang.String name)
setNamespaceAware
public void setNamespaceAware(boolean awareness)
isNamespaceAware
public boolean isNamespaceAware()
setValidating
public void setValidating(boolean validating)
isValidating
public boolean isValidating()
newPullParserWrapper
public XmlPullParserWrapper newPullParserWrapper()
throws XmlPullParserException
- Throws:
XmlPullParserException
newPullParserWrapper
public XmlPullParserWrapper newPullParserWrapper(XmlPullParser pp)
throws XmlPullParserException
- Throws:
XmlPullParserException
newSerializerWrapper
public XmlSerializerWrapper newSerializerWrapper()
throws XmlPullParserException
- Throws:
XmlPullParserException
newSerializerWrapper
public XmlSerializerWrapper newSerializerWrapper(XmlSerializer xs)
throws XmlPullParserException
- Throws:
XmlPullParserException