public class LSPXMLGrammarPreparser
extends org.apache.xerces.parsers.XMLGrammarPreparser
XMLGrammarPreparser doesn't provide the capability to override
the XMLErrorReporter which is required to get XMLl This class
overrides XMLGrammarPreparser.preparseGrammar(String, XMLInputSource)
to use LSP error reporter.| Constructor and Description |
|---|
LSPXMLGrammarPreparser() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.xerces.xni.grammars.Grammar |
preparseGrammar(String type,
org.apache.xerces.xni.parser.XMLInputSource is) |
void |
setErrorReporter(org.apache.xerces.impl.XMLErrorReporter errorReporter) |
void |
setProperty(String propId,
Object value) |
public org.apache.xerces.xni.grammars.Grammar preparseGrammar(String type, org.apache.xerces.xni.parser.XMLInputSource is) throws org.apache.xerces.xni.XNIException, IOException
preparseGrammar in class org.apache.xerces.parsers.XMLGrammarPreparserorg.apache.xerces.xni.XNIExceptionIOExceptionpublic void setProperty(String propId, Object value)
setProperty in class org.apache.xerces.parsers.XMLGrammarPreparserpublic void setErrorReporter(org.apache.xerces.impl.XMLErrorReporter errorReporter)
Copyright © 2021. All rights reserved.