#include <DOMLSResourceResolver.hpp>
Public Member Functions | |
Destructor | |
virtual | ~DOMLSResourceResolver () |
Destructor. | |
Functions introduced in DOM Level 3 | |
virtual DOMLSInput * | resolveResource (const XMLCh *const resourceType, const XMLCh *const namespaceUri, const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const baseURI)=0 |
Allow the application to resolve external resources. | |
Protected Member Functions | |
Hidden constructors | |
DOMLSResourceResolver () |
Applications needing to implement customized handling for external entities must implement this interface and register their implementation by setting the entityResolver attribute of the DOMLSParser.
The DOMLSParser will then allow the application to intercept any external entities (including the external DTD subset and external parameter entities) before including them.
Many DOM applications will not need to implement this interface, but it will be especially useful for applications that build XML documents from databases or other specialized input sources, or for applications that use URNs.
|
|
|
Destructor.
|
|
Allow the application to resolve external resources.
The Application writers can use this method to redirect external system identifiers to secure and/or local URI, to look up public identifiers in a catalogue, or to read an entity from a database or other input source (including, for example, a dialog box). The returned DOMLSInput is owned by the DOMLSParser which is responsible to clean up the memory.
|