37 |
|
|
38 |
package javax.xml.stream; |
package javax.xml.stream; |
39 |
|
|
40 |
|
import java.io.InputStream; |
41 |
|
|
42 |
/** |
/** |
43 |
* Interface used to resolve XML external entities during parsing. |
* Interface used to resolve XML external entities during parsing. |
44 |
*/ |
*/ |
59 |
* @param systemID the system ID of the external entity |
* @param systemID the system ID of the external entity |
60 |
* @param baseURI the absolute base URI of the referring entity |
* @param baseURI the absolute base URI of the referring entity |
61 |
* @param namespace the namespace of the external entity |
* @param namespace the namespace of the external entity |
62 |
*/ |
* |
63 |
Object resolveEntity(String publicID, String systemID, |
Object resolveEntity(String publicID, String systemID, |
64 |
String baseURI, String namespace) |
String baseURI, String namespace) |
65 |
|
throws XMLStreamException;*/ |
66 |
|
|
67 |
|
/** |
68 |
|
* Retrieves a resource from the specified URI. |
69 |
|
*/ |
70 |
|
XMLEventReader resolveAsXMLEventReader(String uri) |
71 |
|
throws XMLStreamException; |
72 |
|
|
73 |
|
/** |
74 |
|
* Retrieves a resource from the specified URI. |
75 |
|
*/ |
76 |
|
XMLStreamReader resolveAsXMLStreamReader(String uri) |
77 |
|
throws XMLStreamException; |
78 |
|
|
79 |
|
/** |
80 |
|
* Retrieves a resource from the specified URI. |
81 |
|
*/ |
82 |
|
InputStream resolve(String uri) |
83 |
throws XMLStreamException; |
throws XMLStreamException; |
84 |
|
|
85 |
} |
} |