public Grammar preparseGrammar(String paramString, XMLInputSource paramXMLInputSource)
throws XNIException, IOException
{
if (this.fLoaders.containsKey(paramString))
{
XMLGrammarLoader localXMLGrammarLoader = (XMLGrammarLoader)this.fLoaders.get(paramString);
localXMLGrammarLoader.setProperty("http://apache.org/xml/properties/internal/symbol-table", this.fSymbolTable);
localXMLGrammarLoader.setProperty("http://apache.org/xml/properties/internal/entity-resolver", this.fEntityResolver);
localXMLGrammarLoader.setProperty("http://apache.org/xml/properties/internal/error-reporter", this.fErrorReporter);
if (this.fGrammarPool != null)
try
{
localXMLGrammarLoader.setProperty("http://apache.org/xml/properties/internal/grammar-pool", this.fGrammarPool);
}
catch (Exception localException)
{
}
return localXMLGrammarLoader.loadGrammar(paramXMLInputSource);
}
return null;
}