gnu.kawa.xml
Class Document

java.lang.Object
  extended by gnu.kawa.xml.Document

public class Document
extends java.lang.Object

Implement the XQuery function 'document'.


Field Summary
static Document document
           
 
Constructor Summary
Document()
           
 
Method Summary
static void clearLocalCache()
          Clear the thread-local uri-to-document map.
static void clearSoftCache()
          Clear the global uri-to-document "soft" cache.
static KDocument parse(java.lang.Object uri)
           
static void parse(java.lang.Object name, Consumer out)
           
static KDocument parseCached(java.lang.Object uri)
           
static KDocument parseCached(Path uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

public static final Document document
Constructor Detail

Document

public 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(Path uri)
                             throws java.lang.Throwable
Throws:
java.lang.Throwable