Interface ObjectConverter
public interface ObjectConverter
Convert any kind of beans into JCR nodes & properties.
This interface mimics Jackrabbit's one, but this is provided to support more lightweight beans in HST.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotatedClassFor
(String jcrPrimaryNodeType) Deprecated.getClassFor
(String jcrPrimaryNodeType) getPrimaryNodeTypeNameFor
(Class<? extends HippoBean> hippoBean) getPrimaryObjectType
(Node node) Returns the Primary Node Type for a Node (or a child Node if the Node is a Handle) to be used for Object conversion, possibly using a fallback Node Type if no exact match can be determined.
-
Method Details
-
getPrimaryObjectType
Returns the Primary Node Type for a Node (or a child Node if the Node is a Handle) to be used for Object conversion, possibly using a fallback Node Type if no exact match can be determined.- Parameters:
node
- to determine the Primary Object Type for- Returns:
- Primary Object Type to be used for Object conversion
- Throws:
ObjectBeanManagerException
-
getObject
- Throws:
ObjectBeanManagerException
-
getObject
- Throws:
ObjectBeanManagerException
-
getObject
- Throws:
ObjectBeanManagerException
-
getObject
- Throws:
ObjectBeanManagerException
-
getObject
- Throws:
ObjectBeanManagerException
-
getAnnotatedClassFor
Deprecated.Use thegetClassFor
method.- Parameters:
jcrPrimaryNodeType
- Primary node type- Returns:
- the annotated
Class
for this jcrPrimaryNodeType ornull
if no annotated class can be found
-
getClassFor
- Parameters:
jcrPrimaryNodeType
- Primary node type- Returns:
Class
for this jcrPrimaryNodeType ornull
if no annotated class can be found
-
getPrimaryNodeTypeNameFor
-
getClassFor
method.