Package org.apache.camel.component.jcr
Class JcrConverter
- java.lang.Object
-
- org.apache.camel.component.jcr.JcrConverter
-
@Converter(generateLoader=true) public final class JcrConverter extends Object
A helper class to transform Object into JCRValue
implementations
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
toBoolean(javax.jcr.Value value)
static Calendar
toCalendar(javax.jcr.Value value)
static String
toString(javax.jcr.Value value)
static javax.jcr.Value
toValue(InputStream stream)
static javax.jcr.Value
toValue(Boolean bool)
static javax.jcr.Value
toValue(String value)
static javax.jcr.Value
toValue(Calendar calendar)
static InputStream
toValue(javax.jcr.Value value)
-
-
-
Method Detail
-
toValue
@Converter public static javax.jcr.Value toValue(Boolean bool)
-
toValue
@Converter public static javax.jcr.Value toValue(InputStream stream)
-
toValue
@Converter public static javax.jcr.Value toValue(Calendar calendar)
-
toValue
@Converter public static javax.jcr.Value toValue(String value)
-
toBoolean
@Converter public static Boolean toBoolean(javax.jcr.Value value) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
toValue
@Converter public static InputStream toValue(javax.jcr.Value value) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
toCalendar
@Converter public static Calendar toCalendar(javax.jcr.Value value) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
toString
@Converter public static String toString(javax.jcr.Value value) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
-