Package com.xmlcalabash.documents
Class XProcDocument
-
- All Implemented Interfaces:
public class XProcDocument
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
XProcDocument.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Long
id
private final XdmValue
value
private final DocumentProperties
properties
private final DocumentContext
context
private final URI
baseURI
private final MediaType
contentType
private final MediaClassification
contentClassification
private final Map<String, NamespaceUri>
inScopeNamespaces
public final static XProcDocument.Companion
Companion
-
Constructor Summary
Constructors Constructor Description XProcDocument(Function0<XdmValue> valueFunction, DocumentContext context)
XProcDocument(Function0<XdmValue> valueFunction, DocumentContext context, DocumentProperties initialProperties)
-
Method Summary
Modifier and Type Method Description final Long
getId()
final XdmValue
getValue()
final DocumentProperties
getProperties()
final DocumentContext
getContext()
final URI
getBaseURI()
final MediaType
getContentType()
final MediaClassification
getContentClassification()
final Map<String, NamespaceUri>
getInScopeNamespaces()
XProcDocument
with(ByteArray newValue)
XProcDocument
with(XdmValue newValue)
XProcDocument
with(ByteArray newValue, URI baseURI)
XProcDocument
with(XdmValue newValue, URI baseURI)
XProcDocument
with(MediaType contentType, Boolean removeSerialization)
XProcDocument
with(URI baseUri)
XProcDocument
with(DocumentProperties properties)
final Unit
serialize(Map<QName, XdmValue> defProp)
final Unit
serialize(OutputStream out, Map<QName, XdmValue> defProp)
String
toString()
-
-
Constructor Detail
-
XProcDocument
XProcDocument(Function0<XdmValue> valueFunction, DocumentContext context)
-
XProcDocument
XProcDocument(Function0<XdmValue> valueFunction, DocumentContext context, DocumentProperties initialProperties)
-
-
Method Detail
-
getValue
final XdmValue getValue()
-
getProperties
final DocumentProperties getProperties()
-
getContext
final DocumentContext getContext()
-
getBaseURI
final URI getBaseURI()
-
getContentType
final MediaType getContentType()
-
getContentClassification
final MediaClassification getContentClassification()
-
getInScopeNamespaces
final Map<String, NamespaceUri> getInScopeNamespaces()
-
with
XProcDocument with(ByteArray newValue)
-
with
XProcDocument with(XdmValue newValue)
-
with
XProcDocument with(ByteArray newValue, URI baseURI)
-
with
XProcDocument with(XdmValue newValue, URI baseURI)
-
with
XProcDocument with(MediaType contentType, Boolean removeSerialization)
-
with
XProcDocument with(URI baseUri)
-
with
XProcDocument with(DocumentProperties properties)
-
serialize
final Unit serialize(OutputStream out, Map<QName, XdmValue> defProp)
-
-
-
-