Code example for StringBufferInputStream

0
			parser.parse(f,theHandler);
 
    } 
     
    public void parse(String xmlString) throws Exception {
      parser.parse(new StringBufferInputStream(xmlString), theHandler);
    } 
     
    public Rule[] getRules() { 
        return theHandler.getRules();
    } 
     
    public String[] getCriteres() {
        return theHandler.getCriteres();
    } 
     
}