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> |
getApplicabledMimetypes()
Deprecated.
|
List<String> |
getApplicableMimetypes()
Gets the list of applicable mimetypes
|
boolean |
isApplicableForMimetype(String mimetype)
Gets whether or not these transformation source options apply for the
given mimetype
|
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 |
setApplicableMimetypes(List<String> applicableMimetypes)
Sets the list of applicable mimetypes
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSerializer
public List<String> getApplicabledMimetypes()
TransformationSourceOptions
getApplicabledMimetypes
in interface TransformationSourceOptions
public List<String> getApplicableMimetypes()
getApplicableMimetypes
in interface TransformationSourceOptions
public void setApplicableMimetypes(List<String> applicableMimetypes)
applicableMimetypes
- the applicable mimetypespublic boolean isApplicableForMimetype(String mimetype)
isApplicableForMimetype
in interface TransformationSourceOptions
mimetype
- the mimetype of the sourceprotected AbstractTransformationSourceOptions clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
TransformationSourceOptions
object from this
one, merging any non-null overriding fields in the given
overridingOptions
mergedOptions
in interface TransformationSourceOptions
overridingOptions
- TransformationSourceOptionsTransformationSourceOptions
objectprotected void putParameterIfNotNull(String paramName, Serializable paramValue, Map<String,Serializable> params)
paramName
- StringparamValue
- SerializableCopyright © 2005–2017 Alfresco Software. All rights reserved.