Package org.alfresco.repo.virtual.ref
Class StringParameter
- java.lang.Object
-
- org.alfresco.repo.virtual.ref.ValueParameter<java.lang.String>
-
- org.alfresco.repo.virtual.ref.StringParameter
-
- All Implemented Interfaces:
Parameter
public class StringParameter extends ValueParameter<java.lang.String>
Helper class that has oneStringas 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
Encodingsdefinition, using providedStringifierobjects.
-
-
Constructor Summary
Constructors Constructor Description StringParameter(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstringify(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
-
-
-
-
Method Detail
-
stringify
public java.lang.String stringify(Stringifier stringifier) throws ReferenceEncodingException
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
-
-