Package com.xmlcalabash.io
Class DocumentLoader
-
- All Implemented Interfaces:
public final class DocumentLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DocumentLoader.Companion
-
Field Summary
Fields Modifier and Type Field Description private MediaType
mediaType
private final DocumentProperties
properties
private URI
absURI
private final XProcStepConfiguration
context
private final URI
href
private final DocumentProperties
documentProperties
private final Map<QName, XdmValue>
parameters
public final static DocumentLoader.Companion
Companion
-
Constructor Summary
Constructors Constructor Description DocumentLoader(XProcStepConfiguration context, URI href, DocumentProperties documentProperties, Map<QName, XdmValue> parameters)
-
Method Summary
Modifier and Type Method Description final MediaType
getMediaType()
final Unit
setMediaType(MediaType mediaType)
final DocumentProperties
getProperties()
final URI
getAbsURI()
final Unit
setAbsURI(URI absURI)
final XProcStepConfiguration
getContext()
final URI
getHref()
final DocumentProperties
getDocumentProperties()
final Map<QName, XdmValue>
getParameters()
final XProcDocument
load()
final XProcDocument
load(URI uri, InputStream stream, MediaType mediaType)
-
-
Constructor Detail
-
DocumentLoader
DocumentLoader(XProcStepConfiguration context, URI href, DocumentProperties documentProperties, Map<QName, XdmValue> parameters)
-
-
Method Detail
-
getMediaType
final MediaType getMediaType()
-
setMediaType
final Unit setMediaType(MediaType mediaType)
-
getProperties
final DocumentProperties getProperties()
-
getContext
final XProcStepConfiguration getContext()
-
getDocumentProperties
final DocumentProperties getDocumentProperties()
-
getParameters
final Map<QName, XdmValue> getParameters()
-
load
final XProcDocument load()
-
load
final XProcDocument load(URI uri, InputStream stream, MediaType mediaType)
-
-
-
-