Class LSPXMLGrammarPreparser
- java.lang.Object
-
- org.apache.xerces.parsers.XMLGrammarPreparser
-
- org.eclipse.lemminx.extensions.xsd.participants.diagnostics.LSPXMLGrammarPreparser
-
public class LSPXMLGrammarPreparser extends org.apache.xerces.parsers.XMLGrammarPreparserXercesXMLGrammarPreparserdoesn't provide the capability to override theXMLErrorReporterwhich is required to get XMLl This class overridesXMLGrammarPreparser.preparseGrammar(String, XMLInputSource)to use LSP error reporter.
-
-
Constructor Summary
Constructors Constructor Description LSPXMLGrammarPreparser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.xerces.xni.grammars.GrammarpreparseGrammar(String type, org.apache.xerces.xni.parser.XMLInputSource is)voidsetErrorReporter(org.apache.xerces.impl.XMLErrorReporter errorReporter)voidsetProperty(String propId, Object value)
-
-
-
Method Detail
-
preparseGrammar
public org.apache.xerces.xni.grammars.Grammar preparseGrammar(String type, org.apache.xerces.xni.parser.XMLInputSource is) throws org.apache.xerces.xni.XNIException, IOException
- Overrides:
preparseGrammarin classorg.apache.xerces.parsers.XMLGrammarPreparser- Throws:
org.apache.xerces.xni.XNIExceptionIOException
-
setProperty
public void setProperty(String propId, Object value)
- Overrides:
setPropertyin classorg.apache.xerces.parsers.XMLGrammarPreparser
-
setErrorReporter
public void setErrorReporter(org.apache.xerces.impl.XMLErrorReporter errorReporter)
-
-