Package org.alfresco.repo.virtual.ref
Class NodeHashStringifier
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.ProtocolHashStringifier
-
- org.alfresco.repo.virtual.ref.NodeHashStringifier
-
- All Implemented Interfaces:
java.io.Serializable,HashEncodingArtefact,Stringifier
public class NodeHashStringifier extends ProtocolHashStringifier
Custom stringifier for hash encoded strings ofReferences having the protocol set toNodeProtocol.- 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 NodeHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstringify(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
-
NodeHashStringifier
public NodeHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
-
-
Method Detail
-
stringify
public java.lang.String stringify(Reference reference) throws ReferenceEncodingException
- Throws:
ReferenceEncodingException
-
-