org.apache.camel.component.jcr
Class JcrConverter

java.lang.Object
  extended by org.apache.camel.component.jcr.JcrConverter

@Converter
public final class JcrConverter
extends Object

A helper class to transform Object into JCR Value implementations


Method Summary
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(Boolean bool)
           
static javax.jcr.Value toValue(Calendar calendar)
           
static javax.jcr.Value toValue(InputStream stream)
           
static javax.jcr.Value toValue(String value)
           
static InputStream toValue(javax.jcr.Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Apache Camel