|
API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XUnparsedTextResolver
Implement this class to override the default unparsed text resolution behaviour.
Register with the dynamic context to resolve resources loaded using the
XSLT unparsed-text
function.
The default unparsed text resolution behaviour for resources loaded
using the XSLT unparsed-text
function is to resolve relative URIs based on
the base URI from the static context. If the base URI is not available, the
current working directory is used. Absolute URIs are used unchanged.
XDynamicContext.setUnparsedTextResolver(XUnparsedTextResolver)
Method Summary | |
---|---|
String |
getResource(String href,
String encoding,
String base)
Get the resource as a String for the given URI, encoding, and base. |
Method Detail |
---|
String getResource(String href, String encoding, String base)
String
for the given URI, encoding, and base.
href
- The URI which may be relative or absolute.encoding
- The encoding of the resource. May be null
if the encoding
was not specified in the call to unparsed-text
.base
- The base URI.
String
or null
|
IBM Copyright 2004-2008 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |