public abstract class AbstractTransformationSourceOptions extends Object implements TransformationSourceOptions, Cloneable
TransformationSourceOptions.TransformationSourceOptionsSerializer| Constructor and Description |
|---|
AbstractTransformationSourceOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractTransformationSourceOptions |
clone() |
List<String> |
getApplicableMediaTypes()
Gets the list of applicable media types
|
boolean |
isApplicableForMediaType(String mediaType)
Gets whether or not these transformation source options apply for the
given media type
|
TransformationSourceOptions |
mergedOptions(TransformationSourceOptions overridingOptions)
Creates a new
TransformationSourceOptions object from this
one, merging any non-null overriding fields in the given
overridingOptions |
protected void |
putParameterIfNotNull(String paramName,
Serializable paramValue,
Map<String,Serializable> params)
Adds the given paramValue to the given params if it's not null.
|
void |
setApplicableMediaTypes(List<String> applicableMediaTypes)
Sets the list of applicable media types
|
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSerializerpublic List<String> getApplicableMediaTypes()
getApplicableMediaTypes in interface TransformationSourceOptionspublic void setApplicableMediaTypes(List<String> applicableMediaTypes)
applicableMimetypes - the applicable media typespublic boolean isApplicableForMediaType(String mediaType)
isApplicableForMediaType in interface TransformationSourceOptionsmediaType - the media type of the sourceprotected AbstractTransformationSourceOptions clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
TransformationSourceOptions object from this
one, merging any non-null overriding fields in the given
overridingOptionsmergedOptions in interface TransformationSourceOptionsoverridingOptions - TransformationSourceOptions objectprotected void putParameterIfNotNull(String paramName, Serializable paramValue, Map<String,Serializable> params)
paramName - paramValue - params - Copyright © 2014 Alfresco Software. All rights reserved.