gnu.kawa.xml
Class Document
java.lang.Object
gnu.kawa.xml.Document
public class Document
- extends java.lang.Object
Implement the XQuery function 'document'.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
document
public static final Document document
Document
public Document()
parse
public static void parse(java.lang.Object name,
Consumer out)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
parse
public static KDocument parse(java.lang.Object uri)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
clearLocalCache
public static void clearLocalCache()
- Clear the thread-local uri-to-document map.
clearSoftCache
public static void clearSoftCache()
- Clear the global uri-to-document "soft" cache.
parseCached
public static KDocument parseCached(java.lang.Object uri)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
parseCached
public static KDocument parseCached(Path uri)
throws java.lang.Throwable
- Throws:
java.lang.Throwable