public interface XMLResolver
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
resolveEntity(java.lang.String publicID,
java.lang.String systemID,
java.lang.String baseURI,
java.lang.String namespace)
Returns an input source from which the specified external entity can be
read.
|
java.lang.Object resolveEntity(java.lang.String publicID, java.lang.String systemID, java.lang.String baseURI, java.lang.String namespace) throws XMLStreamException
java.io.InputStreamjavax.xml.stream.XMLStreamReaderjava.xml.stream.XMLEventReadernull is returned, the processor will attempt to resolve
the entity itself.publicID - the public ID of the external entitysystemID - the system ID of the external entitybaseURI - the absolute base URI of the referring entitynamespace - the namespace of the external entityXMLStreamException