|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLResolver
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 | |
---|---|
java.lang.Object |
resolveEntity(java.lang.String publicID,
java.lang.String systemID,
java.lang.String baseURI,
java.lang.String namespace)
Retrieves a resource. |
Method Detail |
---|
java.lang.Object resolveEntity(java.lang.String publicID, java.lang.String systemID, java.lang.String baseURI, java.lang.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34