public abstract class ReadStrategy extends Object
Constructor and Description |
---|
ReadStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract SaWsContent |
read(String xhdoc,
int element,
CloseablePooledSession session,
boolean currentRevision)
Reads the content of the specified document into an SaWsContent object.
|
public abstract SaWsContent read(String xhdoc, int element, CloseablePooledSession session, boolean currentRevision) throws SaWsRepositoryException, SaWsAuthenticationException, SaWsDBException
xhdoc
- The document identifier.element
- The position of the element inside a structured document to
read.session
- The closeable session containing the connection to use for reading.SaWsRepositoryException
- if a repository error occursSaWsAuthenticationException
- if a authentication error occursSaWsDBException
- if a database error occursCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.