Package gnu.kawa.xml
Class Document
- java.lang.Object
-
- gnu.kawa.xml.Document
-
public class Document extends java.lang.ObjectImplement the XQuery function 'document'.
-
-
Constructor Summary
Constructors Constructor Description Document()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearLocalCache()Clear the thread-local uri-to-document map.static voidclearSoftCache()Clear the global uri-to-document "soft" cache.static KDocumentparse(java.lang.Object uri)static voidparse(java.lang.Object name, Consumer out)static KDocumentparseCached(gnu.kawa.io.Path uri)static KDocumentparseCached(java.lang.Object uri)
-
-
-
Field Detail
-
document
public static final Document document
-
-
Method Detail
-
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(gnu.kawa.io.Path uri) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-