Package org.alfresco.repo.virtual.ref
Enum Class Encodings
- All Implemented Interfaces:
Serializable,Comparable<Encodings>,Constable
Common
Reference encodings.- Author:
- Bogdan Horje
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
PLAIN
Referencestring encoding that parses and produces reference string representations that conform to the following grammar :reference := protocol':'resource[':'parameters] protocol := 'virtual'|'node'|'template' resource := repositoryResource | classpathResource repositoryResource := 'repository'':'repositoryLocation repositoryLocation := ('path'':'path)|('node'':'nodeRef) classpathResource := 'classpath'':'path path := string parameters := parameter[':'parameters] parameter := referenceParameter | integerParameter | stringParameter referenceParameter := 'ref'':'reference resourceParameter := 'r'':'resource integerParameter := 'i'':'integer stringParameter := 's'':'string Examples (syntax is correct, but not the semantic): virtual:classpath:/org/alfresco/ virtual:classpath:/org/alfresco/:r:repository:node:workspace:SpacesStore:0029-222-333-444 virtual:classpath:/org/alfresco/:r:repository:node:workspace:SpacesStore:0029-222-333-444:r:repository:path:/Data Dictionary/Virtual Folders/claim.json node:repository:node:workspace:SpacesStore:0029-222-333-444:r:virtual:repository:node:workspace:SpacesStore:0029-122-333-0023 -
ZERO
A condensedReferencestring representation. -
HASH
A hash based condensedReferencestring representation.
-
-
Field Details
-
encoding
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromToken
-