|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlResource
API for base XML document structure.
Method Summary | |
---|---|
void |
free()
Free up any resources associated with this XmlResource. |
javax.xml.transform.Source |
getAsSource()
Get the content of this XML resource as an XSLT Source, for use in a transformation. |
java.io.InputStream |
getAsStream()
Get the content of this XML resource as an input stream |
java.lang.String |
getAsString()
Get the content of this XML resource as a String. |
java.io.Serializable |
getId()
Get the unique ID that identifies this XML resource. |
Method Detail |
---|
java.io.Serializable getId()
This is the "primary key" for the XML resource. Note that this will only be available for complete XML documents, not necessarily for results returned by XQuery evaluation since that might return arbitrary nodes.
java.io.InputStream getAsStream()
java.lang.String getAsString()
javax.xml.transform.Source getAsSource()
void free()
After calling this method the XmlResource instance should not be used anymore.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |