public class DefaultImageTransformationContext extends Object implements ImageTransformationContext
| Constructor and Description |
|---|
DefaultImageTransformationContext(List<String> uriFragments)
ImageTransformationContext constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransformer(ImageTransformer transformer)
Add a transformer to the transformer chain.
|
String |
getSourceImageUri()
Return the source image URI.
|
List<ImageTransformer> |
getTransformers()
Return the transformers needed to transform the source image.
|
List<String> |
getUndigestedUriFragments()
Returns an unmodifiable list of the uri fragments that have yet to be parsed.
|
void |
removeUndigestedUriFragments(int total)
Removes the specified number of fragments from the beginning of undigested uri list.
|
void |
setSourceImageUri(String sourceImageUri)
Set the source image URI.
|
void |
setTransformers(List<ImageTransformer> transformers) |
void |
setUndigestedUriFragments(List<String> undigestedUriFragments)
Set the undigested Uri Fragments.
|
public List<String> getUndigestedUriFragments()
getUndigestedUriFragments in interface UriBasedContextpublic void removeUndigestedUriFragments(int total)
removeUndigestedUriFragments in interface UriBasedContexttotal - the number of entries to remove from the beginning of the listpublic String getSourceImageUri()
getSourceImageUri in interface ImageTransformationContextpublic void setSourceImageUri(String sourceImageUri)
setSourceImageUri in interface ImageTransformationContextsourceImageUri - the source image URIpublic List<ImageTransformer> getTransformers()
getTransformers in interface ImageTransformationContextpublic void addTransformer(ImageTransformer transformer)
addTransformer in interface ImageTransformationContexttransformer - the image transformer to add to the chainpublic void setTransformers(List<ImageTransformer> transformers)
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries