public class DocumentElementClientImpl extends Object implements DocumentElementClient
DocumentElementClient
.Constructor and Description |
---|
DocumentElementClientImpl(DocumentService documentService,
DocumentRevisionReferenceType revisionReference,
DocumentElementReferenceType reference) |
Modifier and Type | Method and Description |
---|---|
void |
appendChild(DocumentElementType element)
This method appends a given document element as a child to the current one.
|
InputStream |
loadContent()
This method Opens the content of the document element identified by the given id for reading and returns an
input stream for that data. |
void |
update(DocumentElementType element)
This method updates the document element instance and replaces it with the given entity.
|
public DocumentElementClientImpl(DocumentService documentService, DocumentRevisionReferenceType revisionReference, DocumentElementReferenceType reference)
public void update(DocumentElementType element) throws EcmException
DocumentElementClient
update
in interface DocumentElementClient
element
- the update document element inputEcmException
- indicates that a system exception occurredpublic void appendChild(DocumentElementType element) throws EcmException
DocumentElementClient
appendChild
in interface DocumentElementClient
element
- the element to appendEcmException
public InputStream loadContent() throws EcmException
DocumentElementClient
input stream
for that data. If the element is chunked the resulting stream will stream over
all the chunks.loadContent
in interface DocumentElementClient
input stream
for the content of the given document elementEcmException
- indicates that a system exception occurredCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.