Package org.alfresco.repo.virtual.ref
Class ProtocolHashParser
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.ProtocolHashParser
-
- All Implemented Interfaces:
HashEncodingArtefact
- Direct Known Subclasses:
NodeHashReferenceParser,VirtualHashReferenceParser
public abstract class ProtocolHashParser extends java.lang.Object implements HashEncodingArtefact
Base class for custom protocol hash encodedReferenceParsers.
-
-
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 ProtocolHashParser(HashStore classpathHashStore)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Referenceparse(ReferenceParser.Cursor cursor)protected ResourceparseResource(ReferenceParser.Cursor cursor)
-
-
-
Constructor Detail
-
ProtocolHashParser
public ProtocolHashParser(HashStore classpathHashStore)
-
-
Method Detail
-
parse
protected abstract Reference parse(ReferenceParser.Cursor cursor) throws ReferenceParseException
- Throws:
ReferenceParseException
-
parseResource
protected Resource parseResource(ReferenceParser.Cursor cursor) throws ReferenceParseException
- Throws:
ReferenceParseException
-
-