Code example for XmlPullParserException

0
    } 
 
    public void defineEntityReplacementText( 
        String entityName, String replacementText)
        throws XmlPullParserException { 
      throw new XmlPullParserException(
          "defineEntityReplacementText() not supported"); 
    } 
 
    public String getNamespacePrefix(int pos)
        throws XmlPullParserException { 
      throw new XmlPullParserException(
          "getNamespacePrefix() not supported"); 
    } 
 
    public String getInputEncoding() {
      return null; 
    } 
 
    public String getNamespace(String prefix) {
      throw new RuntimeException(