Package org.alfresco.repo.virtual.ref
Class ResourceParameter
java.lang.Object
org.alfresco.repo.virtual.ref.ValueParameter<Resource>
org.alfresco.repo.virtual.ref.ResourceParameter
- All Implemented Interfaces:
Parameter
Helper class that has one
Resource as a value attribute, value that can be retrieved and used in virtualization process.
It also provides the possibility of converting the value attribute into a string representation according to Encodings definition, using provided Stringifier objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstringify(Stringifier stringifier) Converts the value attribute into a string representation according toEncodingsdefinition, using providedStringifierparameter.Methods inherited from class org.alfresco.repo.virtual.ref.ValueParameter
equals, getValue, hashCode
-
Constructor Details
-
ResourceParameter
-
-
Method Details
-
stringify
Description copied from interface:ParameterConverts the value attribute into a string representation according toEncodingsdefinition, using providedStringifierparameter.- Returns:
- the string representation of this parameter as provided by the given
Stringifier - Throws:
ReferenceEncodingException
-