Package org.alfresco.repo.virtual.ref
Class VirtualHashStringifier
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.ProtocolHashStringifier
-
- org.alfresco.repo.virtual.ref.VirtualHashStringifier
-
- All Implemented Interfaces:
java.io.Serializable,HashEncodingArtefact,Stringifier
- Direct Known Subclasses:
VanillaHashStringifier
public class VirtualHashStringifier extends ProtocolHashStringifier
Custom stringifier for hash encoded strings ofReferences having the protocol set toVirtualProtocol.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.alfresco.repo.virtual.ref.HashEncodingArtefact
CLASSPATH_RESOUCE_CODE, HASHED_CLASSPATH_RESOUCE_CODE, HASHED_NUMERIC_PATH_CODE, HASHED_REPOSITORY_PATH_CODE, MIXED_CLASSPATH_RESOUCE_CODE, MIXED_NUMERIC_PATH_CODE, MIXED_REPOSITORY_PATH_CODE, NODE_PROTOCOL_CODE, NUMERIC_PATH_CODE, NUMERIC_ROOT_PATH_CODE, REPOSITORY_NODEREF_RESOURCE_CODE, REPOSITORY_PATH_CODE, VANILLA_PROTOCOL_CODE, VIRTUAL_PROTOCOL_CODE
-
-
Constructor Summary
Constructors Constructor Description VirtualHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstringify(Reference reference)protected java.lang.StringstringifyVirtualReference(Reference reference)-
Methods inherited from class org.alfresco.repo.virtual.ref.ProtocolHashStringifier
dispatchStringifyReference, stringify, stringify, stringify, stringify, stringifyParameter, stringifyParameter, stringifyParameter, stringifyParameter, stringifyRepositoryLocation, stringifyRepositoryLocation, stringifyRepositoryLocation, stringifyResource, stringifyResource, stringifyResource
-
-
-
-
Constructor Detail
-
VirtualHashStringifier
public VirtualHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
-
-
Method Detail
-
stringify
public java.lang.String stringify(Reference reference) throws ReferenceEncodingException
- Throws:
ReferenceEncodingException
-
stringifyVirtualReference
protected java.lang.String stringifyVirtualReference(Reference reference)
-
-