Package org.hippoecm.hst.content.beans
Interface ContentNodeBinder
-
public interface ContentNodeBinder
ContentNodeBinder
is the interface for custom mapping content POJO object to JCR node.An implementation of this interface should be able to set property values of the content node or its child nodes.
- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
bind(Object content, javax.jcr.Node node)
Does custom binding from content POJO object to JCR node.
-
-
-
Method Detail
-
bind
boolean bind(Object content, javax.jcr.Node node) throws ContentNodeBindingException
Does custom binding from content POJO object to JCR node.- Parameters:
content
- content POJO object, which can be retrieved by an OCM solutionnode
- a main target JCR node which can have some properties or child nodes.- Returns:
- returns true if the binding makes changes
- Throws:
ContentNodeBindingException
-
-