org.apache.camel.component.jcr
Class JcrConverter
java.lang.Object
org.apache.camel.component.jcr.JcrConverter
@Converter
public final class JcrConverter
- extends Object
A helper class to transform Object into JCR Value implementations
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Apache CAMEL