Code example for XmlPullParserException

0
      return isAndroidSupportedFeature(name);
    } 
 
    public void setProperty(String name, Object value)
        throws XmlPullParserException { 
      throw new XmlPullParserException("setProperty() not supported");
    } 
 
    public Object getProperty(String name) {
      // Properties are not supported. Android returns null 
      // instead of throwing an XmlPullParserException. 
      return null; 
    } 
 
    public void setInput(Reader in) throws XmlPullParserException {
      throw new XmlPullParserException("setInput() not supported");
    } 
 
    public void setInput(InputStream inputStream, String inputEncoding)
        throws XmlPullParserException { 
      throw new XmlPullParserException("setInput() not supported");