ContentDescriptor
public interface DocumentUriTemplate extends ContentDescriptor
UNKNOWN_LENGTH
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDirectory() |
Returns the directory that should prefix the
document uri.
|
java.lang.String |
getExtension() |
Returns the extension that should suffix the
document uri.
|
void |
setDirectory(java.lang.String directory) |
Specifies the directory that should prefix the
document uri.
|
void |
setExtension(java.lang.String extension) |
Specifies the extension that should suffix the
document uri.
|
DocumentUriTemplate |
withDirectory(java.lang.String directory) |
Specifies the directory that should prefix the
document uri and returns the template object.
|
DocumentUriTemplate |
withFormat(Format format) |
Specifies the format of the document and returns
the template object.
|
getByteLength,
getFormat,
getMimetype,
setByteLength,
setFormat,
setMimetype
java.lang.String getDirectory()
void setDirectory(java.lang.String directory)
directory
- the directory.DocumentUriTemplate withDirectory(java.lang.String directory)
directory
- the directory.java.lang.String getExtension()
void setExtension(java.lang.String extension)
extension
- the extension.DocumentUriTemplate withFormat(Format format)
format
- the format.Copyright © 2022 MarkLogic Corporation