public interface DocumentUriTemplate extends ContentDescriptor
UNKNOWN_LENGTH
Modifier and Type | Method and Description |
---|---|
String |
getDirectory()
Returns the directory that should prefix the document uri.
|
String |
getExtension()
Returns the extension that should suffix the document uri.
|
void |
setDirectory(String directory)
Specifies the directory that should prefix the document uri.
|
void |
setExtension(String extension)
Specifies the extension that should suffix the document uri.
|
DocumentUriTemplate |
withDirectory(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
String getDirectory()
void setDirectory(String directory)
directory
- the directory.DocumentUriTemplate withDirectory(String directory)
directory
- the directory.String getExtension()
void setExtension(String extension)
extension
- the extension.DocumentUriTemplate withFormat(Format format)
format
- the format.Copyright © 2013-2016 MarkLogic Corporation.