jcr-utils

Utility classes for JCR / Jackrabbit

License

License

BSD License
Categories

Categories

Net
GroupId

GroupId

net.jaardvark
ArtifactId

ArtifactId

jcr-utils
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

jcr-utils
Utility classes for JCR / Jackrabbit
Project URL

Project URL

https://github.com/runger1101001/jcr-utils
Source Code Management

Source Code Management

https://github.com/runger1101001/jcr-utils

Download jcr-utils

How to add to project

<!-- https://jarcasting.com/artifacts/net.jaardvark/jcr-utils/ -->
<dependency>
    <groupId>net.jaardvark</groupId>
    <artifactId>jcr-utils</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.jaardvark/jcr-utils/
implementation 'net.jaardvark:jcr-utils:2.0.0'
// https://jarcasting.com/artifacts/net.jaardvark/jcr-utils/
implementation ("net.jaardvark:jcr-utils:2.0.0")
'net.jaardvark:jcr-utils:jar:2.0.0'
<dependency org="net.jaardvark" name="jcr-utils" rev="2.0.0">
  <artifact name="jcr-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.jaardvark', module='jcr-utils', version='2.0.0')
)
libraryDependencies += "net.jaardvark" % "jcr-utils" % "2.0.0"
[net.jaardvark/jcr-utils "2.0.0"]

Dependencies

compile (5)

Group / Artifact Type Version
com.google.guava : guava jar 23.1-jre
commons-lang : commons-lang jar 2.6
commons-codec : commons-codec jar 1.10
javax.jcr : jcr jar 2.0
org.slf4j : slf4j-api jar 1.7.8

provided (6)

Group / Artifact Type Version
org.apache.jackrabbit : jackrabbit-core jar 2.16.1
org.apache.jackrabbit : jackrabbit-jcr-commons jar 2.16.1
org.apache.jackrabbit : jackrabbit-spi jar 2.16.1
org.apache.jackrabbit : jackrabbit-spi-commons jar 2.16.1
org.apache.jackrabbit : jackrabbit-api jar 2.16.1
javax.inject : javax.inject jar 1

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

JCR Utils

A collection of useful classes in conjunction with JCR, specifically its reference implementation Apache Jackrabbit.

Licence

BSD License. Use at your own risk, without express or implied warranty.

What?

Additional predicate classes - these are generally useful, and can also be composed into "networks" of predicates to realize fairly complex queries on JCR structures.

JCR2TXT and TXT2JCR - transforms JCR Nodes into a compact line-oriented textual format with stable property order, and back. This can be used to make JCR structures comparable using diff and similar tools.

Bean2Node - transforms java beans to JCR using a few simple annotations to configure the transformation process. A counterpart to the Node2Bean tools found in JCR. Can be used to serialize fairly arbitrary java object structures to JCR (and back via Node2Bean) and in conjunction with jax-rs, javax.validation, jackson and similar annotation based APIs operating on beans it can be used to implement a fairly lightweight annotation-driven approach to storing, loading, validating, transforming and transmitting JCR data.

JcrImportingParseEventHandler / JCRWritingParseEventHandler - in case you have been wondering how to (efficiently) move large amounts of data into JCR.

Development Status

In (slow) development - parts of this code have seen years of active use, while other parts are largely untested. YMMV.

Pull requests, suggestions for improvement and bug reports are appreciated, please use github.

This project has moved to github from bitbucket, see https://bitbucket.org/jaardvark/jcr-utils for more history.

Versions

Version
2.0.0