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 JCRValueimplementations
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleantoBoolean(javax.jcr.Value value)static CalendartoCalendar(javax.jcr.Value value)static StringtoString(javax.jcr.Value value)static javax.jcr.ValuetoValue(InputStream stream)static javax.jcr.ValuetoValue(Boolean bool)static javax.jcr.ValuetoValue(String value)static javax.jcr.ValuetoValue(Calendar calendar)static InputStreamtoValue(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
-
-