public abstract class ProtocolHashStringifier extends Object implements HashEncodingArtefact, Stringifier
Stringifier
s.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 and Description |
---|
ProtocolHashStringifier(HashStore classpathHashStore,
Stringifier referenceDispatcher) |
Modifier and Type | Method and Description |
---|---|
protected String |
dispatchStringifyReference(Reference reference) |
String |
stringify(List<Parameter> parameters) |
String |
stringify(Parameter parameter) |
String |
stringify(RepositoryLocation repositoryLocation) |
String |
stringify(Resource resource) |
String |
stringifyParameter(Parameter parameter) |
String |
stringifyParameter(ReferenceParameter referenceParameter) |
String |
stringifyParameter(ResourceParameter resourceParameter) |
String |
stringifyParameter(StringParameter stringParameter) |
String |
stringifyRepositoryLocation(RepositoryLocation repositoryLocation) |
String |
stringifyRepositoryLocation(RepositoryNodeRef repositoryNodeRef) |
String |
stringifyRepositoryLocation(RepositoryPath repositoryPath) |
String |
stringifyResource(ClasspathResource resource) |
String |
stringifyResource(RepositoryResource resource) |
String |
stringifyResource(Resource resource) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
stringify
public ProtocolHashStringifier(HashStore classpathHashStore, Stringifier referenceDispatcher)
public String stringify(Resource resource) throws ReferenceEncodingException
stringify
in interface Stringifier
ReferenceEncodingException
public String stringifyResource(Resource resource) throws ReferenceEncodingException
stringifyResource
in interface Stringifier
ReferenceEncodingException
public String stringifyResource(RepositoryResource resource) throws ReferenceEncodingException
stringifyResource
in interface Stringifier
ReferenceEncodingException
public String stringifyResource(ClasspathResource resource) throws ReferenceEncodingException
stringifyResource
in interface Stringifier
ReferenceEncodingException
public String stringify(RepositoryLocation repositoryLocation) throws ReferenceEncodingException
stringify
in interface Stringifier
ReferenceEncodingException
public String stringifyRepositoryLocation(RepositoryLocation repositoryLocation) throws ReferenceEncodingException
stringifyRepositoryLocation
in interface Stringifier
ReferenceEncodingException
public String stringifyRepositoryLocation(RepositoryNodeRef repositoryNodeRef) throws ReferenceEncodingException
stringifyRepositoryLocation
in interface Stringifier
ReferenceEncodingException
public String stringifyRepositoryLocation(RepositoryPath repositoryPath) throws ReferenceEncodingException
stringifyRepositoryLocation
in interface Stringifier
ReferenceEncodingException
public String stringify(List<Parameter> parameters) throws ReferenceEncodingException
stringify
in interface Stringifier
ReferenceEncodingException
public String stringify(Parameter parameter) throws ReferenceEncodingException
stringify
in interface Stringifier
ReferenceEncodingException
public String stringifyParameter(Parameter parameter) throws ReferenceEncodingException
stringifyParameter
in interface Stringifier
ReferenceEncodingException
public String stringifyParameter(ResourceParameter resourceParameter) throws ReferenceEncodingException
stringifyParameter
in interface Stringifier
ReferenceEncodingException
public String stringifyParameter(StringParameter stringParameter) throws ReferenceEncodingException
stringifyParameter
in interface Stringifier
ReferenceEncodingException
public String stringifyParameter(ReferenceParameter referenceParameter) throws ReferenceEncodingException
stringifyParameter
in interface Stringifier
ReferenceEncodingException
Copyright © 2005–2017 Alfresco Software. All rights reserved.