public class EmptyRepository extends AbstractRepository
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, login
public java.lang.String getDescriptor(java.lang.String key)
null
since this repository contains no descriptors.key
- descriptor keynull
public Value getDescriptorValue(java.lang.String key)
null
since this repository contains no descriptors.key
- descriptor keynull
public Value[] getDescriptorValues(java.lang.String key)
null
since this repository contains no descriptors.key
- descriptor keynull
public boolean isSingleValueDescriptor(java.lang.String key)
false
since this repository contains no descriptors.key
- descriptor keyfalse
public java.lang.String[] getDescriptorKeys()
public Session login(Credentials credentials, java.lang.String workspace) throws NoSuchWorkspaceException
NoSuchWorkspaceException
- always thrown"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"