|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a callback for implementers of custom protocols.
Clients wanting to address XML resources using a custom-protocol addressing
scheme need to implement this interface's content(String)
method.
Method Summary | |
java.lang.String |
content(java.lang.String url)
Return the XML contents of the resource addressed by this custom protocol. |
Method Detail |
public java.lang.String content(java.lang.String url)
This callback method will be called when XQEngine determines that an address
you've passed to XQEngine.setDocument(String)
(or indirectly through
the function fn:doc(String) is the address of a custom-protocol that you've previously
registered with the query engine.
url
- The address of the resource
XQEngine.registerProtocolHandler(String, IProtocolHandler)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |