Class LSPXMLEntityResolver
java.lang.Object
org.eclipse.lemminx.extensions.xerces.LSPXMLEntityResolver
- All Implemented Interfaces:
org.apache.xerces.xni.parser.XMLEntityResolver
public class LSPXMLEntityResolver
extends Object
implements org.apache.xerces.xni.parser.XMLEntityResolver
XMLEntityResolver used when XML, XSD, DTD is validated and declared
some external resources (with DOCTYPE, xsi:schemaLocation, etc).
This resolver catches the CacheResourceException to collect all
futures which loads the external resources.- Author:
- Angelo ZERR
-
Constructor Summary
ConstructorsConstructorDescriptionLSPXMLEntityResolver(org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, DiagnosticsResult diagnostics) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xerces.xni.parser.XMLInputSourceresolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier)
-
Constructor Details
-
LSPXMLEntityResolver
public LSPXMLEntityResolver(org.apache.xerces.xni.parser.XMLEntityResolver entityResolver, DiagnosticsResult diagnostics)
-
-
Method Details
-
resolveEntity
public org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier resourceIdentifier) throws org.apache.xerces.xni.XNIException, IOException - Specified by:
resolveEntityin interfaceorg.apache.xerces.xni.parser.XMLEntityResolver- Throws:
org.apache.xerces.xni.XNIExceptionIOException
-