@Experimental public class SignatureStores extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTIES_KEY
The property key used to attach an available signature store to a
PropertiesProvider . |
Modifier and Type | Method and Description |
---|---|
static void |
attach(PropertiesProvider propertiesProvider,
SignatureStore store)
Set or replace the signature store for the given
PropertiesProvider . |
static SignatureStore |
get(PropertiesProvider propertiesProvider)
Get the signature store for the given
PropertiesProvider . |
static SignatureStore |
getSignatureStore(Document document)
Search in the document or in the contained
PageSegmentSource s for a
SignatureStore |
static SignatureStore |
getSignatureStore(Page page)
Search the in the page contained
PageSegmentSource s for a SignatureStore |
public static final String PROPERTIES_KEY
PropertiesProvider
.
This is the key that will be used by attach(PropertiesProvider, SignatureStore)
.public static void attach(PropertiesProvider propertiesProvider, SignatureStore store)
PropertiesProvider
.propertiesProvider
- the properties provider into which to put the signature storestore
- the store to be set or replacepublic static SignatureStore get(PropertiesProvider propertiesProvider)
PropertiesProvider
. Return null
if the
signature store is not available.propertiesProvider
- the context PropertiesProvider
for which to retrieve the
signature storenull
public static SignatureStore getSignatureStore(Document document)
PageSegmentSource
s for a
SignatureStore
document
- The document which may contain a SignatureStore
null
if non was foundpublic static SignatureStore getSignatureStore(Page page)
PageSegmentSource
s for a SignatureStore
page
- The page which may contain a SignatureStore
Copyright © 2024 levigo holding gmbh. All rights reserved.