Package com.xmlcalabash.io
Class DocumentManager
-
- All Implemented Interfaces:
-
net.sf.saxon.lib.ModuleURIResolver
,net.sf.saxon.lib.ResourceResolver
,org.xml.sax.EntityResolver
,org.xml.sax.ext.EntityResolver2
public final class DocumentManager implements EntityResolver, EntityResolver2, ResourceResolver, ModuleURIResolver
-
-
Field Summary
Fields Modifier and Type Field Description private final XMLResolverConfiguration
resolverConfiguration
private final XMLResolver
resolver
-
Constructor Summary
Constructors Constructor Description DocumentManager(DocumentManager manager)
DocumentManager()
-
Method Summary
Modifier and Type Method Description final XMLResolverConfiguration
getResolverConfiguration()
final XMLResolver
getResolver()
final Unit
registerPrefix(String prefix, DocumentResolver resolver)
final Unit
unregisterPrefix(String prefix)
final XProcDocument
load(URI href, XProcStepConfiguration stepConfig, DocumentProperties properties, Map<QName, XdmValue> parameters)
final XProcDocument
getCached(URI href)
final Unit
cache(XProcDocument document)
final Unit
uncache(XProcDocument document)
final Unit
clearCache()
InputSource
resolveEntity(String name, String publicId, String baseURI, String systemId)
InputSource
resolveEntity(String publicId, String systemId)
InputSource
getExternalSubset(String name, String baseURI)
Source
resolve(ResourceRequest saxonRequest)
Array<StreamSource>
resolve(String moduleURI, String baseURI, Array<out String> locations)
-
-
Constructor Detail
-
DocumentManager
DocumentManager(DocumentManager manager)
-
DocumentManager
DocumentManager()
-
-
Method Detail
-
getResolverConfiguration
final XMLResolverConfiguration getResolverConfiguration()
-
getResolver
final XMLResolver getResolver()
-
registerPrefix
final Unit registerPrefix(String prefix, DocumentResolver resolver)
-
unregisterPrefix
final Unit unregisterPrefix(String prefix)
-
load
final XProcDocument load(URI href, XProcStepConfiguration stepConfig, DocumentProperties properties, Map<QName, XdmValue> parameters)
-
getCached
final XProcDocument getCached(URI href)
-
cache
final Unit cache(XProcDocument document)
-
uncache
final Unit uncache(XProcDocument document)
-
clearCache
final Unit clearCache()
-
resolveEntity
InputSource resolveEntity(String name, String publicId, String baseURI, String systemId)
-
resolveEntity
InputSource resolveEntity(String publicId, String systemId)
-
getExternalSubset
InputSource getExternalSubset(String name, String baseURI)
-
-
-
-