Package org.craftercms.core.url.impl
Class UrlTransformerPipeline
- java.lang.Object
-
- org.craftercms.core.url.impl.UrlTransformerPipeline
-
- All Implemented Interfaces:
UrlTransformer
public class UrlTransformerPipeline extends Object implements UrlTransformer
UrlTransformer
implementation that basically is a collection of other transformers.- Author:
- Sumer Jabri, Alfonso Vásquez
-
-
Constructor Summary
Constructors Constructor Description UrlTransformerPipeline()
UrlTransformerPipeline(List<UrlTransformer> transformers)
UrlTransformerPipeline(UrlTransformer... transformers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
transformUrl(Context context, CachingOptions cachingOptions, String url)
-
-
-
Constructor Detail
-
UrlTransformerPipeline
public UrlTransformerPipeline()
-
UrlTransformerPipeline
@ConstructorProperties("transformers") public UrlTransformerPipeline(List<UrlTransformer> transformers)
-
UrlTransformerPipeline
@ConstructorProperties("transformers") public UrlTransformerPipeline(UrlTransformer... transformers)
-
-
Method Detail
-
transformUrl
public String transformUrl(Context context, CachingOptions cachingOptions, String url) throws UrlTransformationException
- Specified by:
transformUrl
in interfaceUrlTransformer
- Throws:
UrlTransformationException
-
-