Package org.alfresco.repo.virtual.ref
Class VirtualHashReferenceParser
java.lang.Object
org.alfresco.repo.virtual.ref.ProtocolHashParser
org.alfresco.repo.virtual.ref.VirtualHashReferenceParser
- All Implemented Interfaces:
HashEncodingArtefact
- Direct Known Subclasses:
VanillaHashReferenceParser
Custom parser for hash encoded strings of
References having the protocol set to VirtualProtocol.-
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
ConstructorsConstructorDescriptionVirtualHashReferenceParser(HashStore classpathHashStore) VirtualHashReferenceParser(HashStore classpathHashStore, String protocolCode) -
Method Summary
Modifier and TypeMethodDescriptionparse(ReferenceParser.Cursor cursor) protected ReferenceparseVirtualExtension(ReferenceParser.Cursor c, Resource templateResource, String templatePath, Resource actualNodeResource) Methods inherited from class org.alfresco.repo.virtual.ref.ProtocolHashParser
parseResource
-
Constructor Details
-
VirtualHashReferenceParser
-
VirtualHashReferenceParser
-
-
Method Details
-
parse
- Specified by:
parsein classProtocolHashParser- Throws:
ReferenceParseException
-
parseVirtualExtension
protected Reference parseVirtualExtension(ReferenceParser.Cursor c, Resource templateResource, String templatePath, Resource actualNodeResource)
-