|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OXQHttpResolverFactory
The factory interface for creating entity resolvers for the HTTP protocol. The entity resolver created by this factory responds to all requests which satisfy the following conditions:
OXQEntityKind.SCHEMA
, OXQEntityKind.MODULE
, OXQEntityKind.DOCUMENT
, or OXQEntityKind.XML_ENTITY
system id
is a 'http:' or 'https:' URIMethod Summary | |
---|---|
void |
addExcludedURI(java.net.URI uri) Specifies a URI that must be ignored by the entity resolver. |
boolean |
getContentTypeFromResponseHeader() Retrieves whether the media type should be assigned based on the value of the HTTP 'Content-Type' response header. |
java.net.URI[] |
getExcludedURIs() Retrieves the URIs that will be ignored by the entity resolver. |
boolean |
removeExcludedURI(java.net.URI uri) Removes the given URI from the exclusion list. |
void |
setContentTypeFromResponseHeader(boolean value) Sets whether the media type should be assigned based on the value of the HTTP 'Content-Type' response header. |
Methods inherited from interface oracle.xml.xquery.OXQEntityResolverFactory |
---|
createResolver |
Method Detail |
---|
void addExcludedURI(java.net.URI uri)
uri
- ignored URI, cannot be null
java.lang.NullPointerException
- if given URI is nullfor URIs excluded by default
boolean removeExcludedURI(java.net.URI uri)
uri
- URI, cannot be null
true
if given URI existed in the exclusion list, false
otherwisejava.lang.NullPointerException
- if given URI is nullfor URIs excluded by default
java.net.URI[] getExcludedURIs()
By default some well-known URIs are automatically added to the exclusion list. The documents corresponding to those URIs are stored internally by the XQuery processor and resolved by the default entity resolver.
The following URIs are excluded by default:
void setContentTypeFromResponseHeader(boolean value)
value
- true
to assign media type from HTTP header, false
otherwise.boolean getContentTypeFromResponseHeader()
true
if media type is assigned by HTTP response header, false
otherwise.
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |