Modifier and Type | Class and Description |
---|---|
class |
CompositeFilterTransformer
A special content2bean transformer for filters.
|
Modifier and Type | Class and Description |
---|---|
static class |
IPSecurityManagerImpl.IPSecurityManagerTransformer
Transformer which uses the IP value of the rule as the key.
|
Modifier and Type | Method and Description |
---|---|
protected Node2BeanTransformer |
IPSecurityManagerImpl.InstanceFactory.getNode2BeanTransformer() |
Modifier and Type | Class and Description |
---|---|
class |
CommandTransformer
Command to transform old "impl" reference to implementing class to new "class" node data name for references.
|
Modifier and Type | Method and Description |
---|---|
Node2BeanTransformer |
TypeDescriptor.getTransformer()
Can return a custom transformer.
|
Modifier and Type | Method and Description |
---|---|
Object |
Node2BeanProcessor.setProperties(Object bean,
javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
ComponentProvider componentProvider)
Similar to
toBean() but uses a passed bean as the root bean. |
void |
TypeDescriptor.setTransformer(Node2BeanTransformer transformer) |
Object |
Node2BeanProcessor.toBean(javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
ComponentProvider componentProvider)
Transforms the node to a bean using the passed transformer and component provider.
|
<T> TransformationResult<T> |
Node2BeanProcessor.transform(javax.jcr.Node node,
Class<T> type,
Node2BeanTransformer transformer)
Helper method which complements
ToBeanTransformer interface allowing Node2Bean processing to be accomplished
with a custom transformer instance . |
Modifier and Type | Class and Description |
---|---|
class |
CollectionPropertyHidingTransformer
A transformer which "hides" a collection node.
|
class |
Node2BeanTransformerImpl
Concrete implementation using reflection, generics and setter methods.
|
Modifier and Type | Method and Description |
---|---|
protected Node2BeanTransformer |
TypeMappingImpl.getTransformerFromAnnotation(AnnotatedElement writeMethod) |
protected Node2BeanTransformer |
Node2BeanProcessorImpl.resolveTransformer(TypeDescriptor type,
Node2BeanTransformer transformer) |
Modifier and Type | Method and Description |
---|---|
protected Node2BeanTransformer |
Node2BeanProcessorImpl.resolveTransformer(TypeDescriptor type,
Node2BeanTransformer transformer) |
protected void |
Node2BeanProcessorImpl.setProperties(Map<String,Object> values,
Node2BeanTransformer transformer,
TransformationState state)
Populates the properties of the bean with values from the map.
|
Object |
Node2BeanProcessorImpl.setProperties(Object bean,
javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
ComponentProvider componentProvider) |
Object |
Node2BeanProcessorImpl.toBean(javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
ComponentProvider componentProvider) |
protected Object |
Node2BeanProcessorImpl.toBean(javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider) |
protected Map<String,Object> |
Node2BeanProcessorImpl.toMap(javax.jcr.Node node,
boolean recursive,
Node2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider)
Transforms the children of provided content into a map.
|
<T> TransformationResult<T> |
Node2BeanProcessorImpl.transform(javax.jcr.Node source,
Class<T> type,
Node2BeanTransformer transformer) |
Constructor and Description |
---|
Node2BeanProcessorImpl(TypeMapping typeMapping,
Node2BeanTransformer transformer) |
Modifier and Type | Method and Description |
---|---|
protected Node2BeanTransformer |
ObservedComponentFactory.getNode2BeanTransformer() |
Modifier and Type | Class and Description |
---|---|
class |
VoterSetTransformer
Omit the voters child node.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.