public class VirtualViewerHTML5ContentHandler extends AbstractContentHandler
AbstractContentHandler.BeanNotFoundException, AbstractContentHandler.SessionNotFoundExceptionAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected static com.saperion.common.logging.Logger |
LOGGER |
DEFAULT_ANNOTATION_KEY, servletContext, useRenderEngine, useViewerSessionMap, vectorPDFDOCUMENT_ID_TO_RELOAD, ERROR_MESSAGE, KEY_ALL_ANNOTATIONS_HASH, KEY_ANNOTATION_CONTENT, KEY_ANNOTATION_CREATED_DATE, KEY_ANNOTATION_DELETABLE, KEY_ANNOTATION_DISPLAY_NAME, KEY_ANNOTATION_ID, KEY_ANNOTATION_IMAGE_DOCUMENT_ID, KEY_ANNOTATION_NAMES, KEY_ANNOTATION_OWNER, KEY_ANNOTATION_PERMISSION, KEY_ANNOTATION_PROPERTIES, KEY_ANNOTATION_SESSION_ID, KEY_AVAILABLE_DISPLAY_NAMES, KEY_AVAILABLE_DOCUMENT_IDS, KEY_BOOKMARK_CONTENT, KEY_CLIENT_INSTANCE_ID, KEY_CLIENT_PREFERENCES_XML, KEY_CURRENT_USER_NAME, KEY_DOCUMENT_CONTENT, KEY_DOCUMENT_CONTENT_ELEMENTS, KEY_DOCUMENT_DISPLAY_NAME, KEY_DOCUMENT_FILE, KEY_DOCUMENT_ID, KEY_DOCUMENT_INPUT_STREAM, KEY_DOCUMENT_SPARSE_ELEMENTS, KEY_DOCUMENT_SPARSE_PAGE_INDEX, KEY_DOCUMENT_SPARSE_RETURN_PAGE_COUNT, KEY_DOCUMENT_SPARSE_TOTAL_PAGE_COUNT, KEY_EVENT, KEY_EVENT_EXPORT_FORMAT_NAME, KEY_EVENT_PAGE_REQUESTED_NUMBER, KEY_EVENT_PRINT_PAGE_NUMBERS, KEY_EVENT_ROTATE_DEGREES, KEY_EVENT_ROTATE_PAGE, KEY_EVENT_SAVE_ANNOTATION_LAYER_NAME_BASE, KEY_EXTERNAL_REFERENCE_CONTENT_ELEMENTS, KEY_METADATA_HASHTABLE, KEY_NOTES_CONTENT, KEY_NOTES_PERMISSIONS, KEY_NOTES_TEMPLATES, KEY_PUBLISH_STATUS, KEY_RETRIEVED_EXTERNAL_REFERENCES, KEY_USE_OF_CACHE_ALLOWED, KEY_USERS_AND_GROUPS, KEY_WATERMARK_CONTENT, VALUE_EVENT_CLOSE_DOCUMENT, VALUE_EVENT_DOCUMENT_RETRIEVED_FROM_CACHE, VALUE_EVENT_EXPORT, VALUE_EVENT_PAGE_REQUESTED, VALUE_EVENT_PRINT, VALUE_EVENT_ROTATE_DEGREES, VALUE_EVENT_ROTATE_PAGE, VALUE_EVENT_SAVE_ANNOTATION, VALUE_EVENT_SAVE_DOCUMENT, VALUE_FALSE, VALUE_PUBLISH_ERROR, VALUE_PUBLISH_SUCCESS, VALUE_TRUE, VOID| Constructor and Description |
|---|
VirtualViewerHTML5ContentHandler() |
| Modifier and Type | Method and Description |
|---|---|
com.snowbound.snapserv.servlet.ContentHandlerResult |
getAnnotationContent(com.snowbound.snapserv.servlet.ContentHandlerInput input) |
com.snowbound.snapserv.servlet.ContentHandlerResult |
getAnnotationNames(com.snowbound.snapserv.servlet.ContentHandlerInput input) |
com.snowbound.snapserv.servlet.ContentHandlerResult |
getAnnotationProperties(com.snowbound.snapserv.servlet.ContentHandlerInput input) |
com.snowbound.snapserv.servlet.ContentHandlerResult |
getClientPreferencesXML(com.snowbound.snapserv.servlet.ContentHandlerInput input)
Deprecated.
|
com.snowbound.snapserv.servlet.ContentHandlerResult |
getDocumentContent(com.snowbound.snapserv.servlet.ContentHandlerInput input)
Snowbound uses this method get the file content that needs to be displayed
|
protected String |
getHdocFromContentHandlerInput(com.snowbound.snapserv.servlet.ContentHandlerInput input) |
void |
init(javax.servlet.ServletConfig config) |
com.snowbound.snapserv.servlet.ContentHandlerResult |
saveAnnotationContent(com.snowbound.snapserv.servlet.ContentHandlerInput input) |
com.snowbound.snapserv.servlet.ContentHandlerResult |
saveDocumentComponents(com.snowbound.snapserv.servlet.ContentHandlerInput input) |
accept, convertToContentHandlerInput, convertTxtToPdfIfRequired, deleteAnnotation, documentCanBeRendered, eventNotification, getAnnotationContentInternal, getAnnotationNamesInternal, getAnnotationPropertiesInternal, getAvailableDocumentIds, getBookmarkContent, getClientPreferencesXmlInternal, getDocumentBytes, getIniAnnotation, getIXOSAnnotation, getOpenDocumentBean, getPageFileNumber, getSession, getTemporaryDocumentBytes, handleIXOSFiles, hasAnnotations, isPageFile, readPrecheckFormats, readPrerenderFormats, saveAnnotationContentInternal, saveClientPreferencesXML, saveDocumentComponentsAs, saveDocumentComponentsInternal, saveDocumentContent, securityCheck, sendDocumentContent, setErrorFlagInBean, validateCachecreateDocument, deleteAnnotation, eventNotification, getAnnotationContent, getAnnotationNames, getAnnotationProperties, getAvailableDocumentIds, getBookmarkContent, getDocumentContent, getWatermarkContent, saveAnnotationContent, saveBookmarkContent, saveDocumentComponents, saveDocumentComponentsAs, saveDocumentContent, sendDocumentContentgetAnnotationContent, getAnnotationNames, getAnnotationProperties, getAvailableDisplayNames, getAvailableDocumentIds, getBookmarkContent, getClientPreferencesXML, getDocumentContent, getDocumentContentElements, getDocumentFile, getDocumentSparseElements, getDocumentStream, getNotesContent, getNotesPermissionLevel, getNotesTemplates, getWatermarkContent, hasDocumentContent, isErrorclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic com.snowbound.snapserv.servlet.ContentHandlerResult saveAnnotationContent(com.snowbound.snapserv.servlet.ContentHandlerInput input)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionpublic com.snowbound.snapserv.servlet.ContentHandlerResult saveDocumentComponents(com.snowbound.snapserv.servlet.ContentHandlerInput input)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionpublic com.snowbound.snapserv.servlet.ContentHandlerResult getAnnotationContent(com.snowbound.snapserv.servlet.ContentHandlerInput input)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionpublic com.snowbound.snapserv.servlet.ContentHandlerResult getAnnotationNames(com.snowbound.snapserv.servlet.ContentHandlerInput input)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionpublic com.snowbound.snapserv.servlet.ContentHandlerResult getAnnotationProperties(com.snowbound.snapserv.servlet.ContentHandlerInput input)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIException@Deprecated public com.snowbound.snapserv.servlet.ContentHandlerResult getClientPreferencesXML(com.snowbound.snapserv.servlet.ContentHandlerInput input) throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionpublic com.snowbound.snapserv.servlet.ContentHandlerResult getDocumentContent(com.snowbound.snapserv.servlet.ContentHandlerInput input)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
input - The file inputContentHandlerResult with file contentcom.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionpublic void init(javax.servlet.ServletConfig config)
throws com.snowbound.snapserv.servlet.FlexSnapSIAPIException
com.snowbound.snapserv.servlet.FlexSnapSIAPIExceptionprotected String getHdocFromContentHandlerInput(com.snowbound.snapserv.servlet.ContentHandlerInput input)
getHdocFromContentHandlerInput in class AbstractContentHandlerCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.