|
Streaming API for XML (JSR 173) Version 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to resolve resources during an XML parse. If an application wishes to perform custom entity resolution it must register an instance of this interface with the XMLInputFactory using the setXMLResolver method.
Method Summary | |
Object |
resolveEntity(String publicID,
String systemID,
String baseURI,
String namespace)
Retrieves a resource. |
Method Detail |
public Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException
publicID
- The public identifier of the external entity being referenced, or null if none was supplied.systemID
- The system identifier of the external entity being referenced.baseURI
- Absolute base URI associated with systemId.namespace
- The namespace of the entity to resolve.
XMLStreamException
- if there was a failure attempting to resolve the resource.
|
Streaming API for XML (JSR 173) Version 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |