Class JcrConverter


  • @Converter(generateLoader=true)
    public final class JcrConverter
    extends Object
    A helper class to transform Object into JCR Value implementations
    • 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