public class EmptyRepository extends AbstractRepository
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC| Constructor and Description |
|---|
EmptyRepository() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescriptor(java.lang.String key)
Returns
null since this repository contains no descriptors. |
java.lang.String[] |
getDescriptorKeys()
Returns an empty array since this repository contains no descriptors.
|
Value |
getDescriptorValue(java.lang.String key)
Returns
null since this repository contains no descriptors. |
Value[] |
getDescriptorValues(java.lang.String key)
Returns
null since this repository contains no descriptors. |
boolean |
isSingleValueDescriptor(java.lang.String key)
Returns
false since this repository contains no descriptors. |
Session |
login(Credentials credentials,
java.lang.String workspace)
Throws an exception since this repository contains no workspaces.
|
isStandardDescriptor, login, login, login, loginpublic java.lang.String getDescriptor(java.lang.String key)
null since this repository contains no descriptors.key - descriptor keynullpublic Value getDescriptorValue(java.lang.String key)
null since this repository contains no descriptors.key - descriptor keynullpublic Value[] getDescriptorValues(java.lang.String key)
null since this repository contains no descriptors.key - descriptor keynullpublic boolean isSingleValueDescriptor(java.lang.String key)
false since this repository contains no descriptors.key - descriptor keyfalsepublic java.lang.String[] getDescriptorKeys()
public Session login(Credentials credentials, java.lang.String workspace) throws NoSuchWorkspaceException
NoSuchWorkspaceException - always thrownCopyright © 2010 - 2020 Adobe. All Rights Reserved