public class PageToTemplate extends Object implements FunctionTransformer<PageIdentifier,Template>, Serializable, UpdatableContext<org.springframework.context.ApplicationContext>
Template from its PageIdentifier| Constructor and Description |
|---|
PageToTemplate() |
| Modifier and Type | Method and Description |
|---|---|
Template |
apply(PageIdentifier t) |
org.springframework.context.ApplicationContext |
getContext() |
void |
setContext(org.springframework.context.ApplicationContext context) |
Object |
transform(Object input) |
void |
updateContext(org.springframework.context.ApplicationContext context) |
public Object transform(Object input)
transform in interface org.apache.commons.collections.Transformerpublic org.springframework.context.ApplicationContext getContext()
public void setContext(org.springframework.context.ApplicationContext context)
public Template apply(PageIdentifier t)
apply in interface FunctionTransformer<PageIdentifier,Template>apply in interface Function<PageIdentifier,Template>public void updateContext(org.springframework.context.ApplicationContext context)
updateContext in interface UpdatableContext<org.springframework.context.ApplicationContext>Copyright © 2018. All rights reserved.