content(java.lang.String url)
Return the XML contents of the resource addressed by this custom protocol.

Method Detail

content

public java.lang.String content(java.lang.String url)

Return the XML contents of the resource addressed by this custom protocol.

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.