X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.jcr%2Fsrc%2Forg%2Fargeo%2Fjcr%2FJcr.java;h=fe73b53f428a44fbc7ec7271757e0c99e40e4ca5;hb=3b77333b1046ea6d9536a63f218323ed56ccfaf2;hp=5ce8017ca4120c14accae02dc6669f1d87176771;hpb=8e5934c1ff5587a5156854839210cc93bb66fc41;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.jcr/src/org/argeo/jcr/Jcr.java b/org.argeo.jcr/src/org/argeo/jcr/Jcr.java index 5ce8017ca..fe73b53f4 100644 --- a/org.argeo.jcr/src/org/argeo/jcr/Jcr.java +++ b/org.argeo.jcr/src/org/argeo/jcr/Jcr.java @@ -36,19 +36,26 @@ import javax.jcr.version.VersionManager; * exceptions. Loosely inspired by Java's Files singleton. */ public class Jcr { - + /** + * The name of a node which will be serialized as XML text, as per section 7.3.1 + * of the JCR 2.0 specifications. + */ + public final static String JCR_XMLTEXT = "jcr:xmltext"; + /** + * The name of a property which will be serialized as XML text, as per section + * 7.3.1 of the JCR 2.0 specifications. + */ + public final static String JCR_XMLCHARACTERS = "jcr:xmlcharacters"; /** * jcr:name, when used in another context than * {@link Property#JCR_NAME}, typically to name a node rather than a property. */ public final static String JCR_NAME = "jcr:name"; - /** * jcr:path, when used in another context than * {@link Property#JCR_PATH}, typically to name a node rather than a property. */ public final static String JCR_PATH = "jcr:path"; - /** * jcr:primaryType with prefix instead of namespace (as in * {@link Property#JCR_PRIMARY_TYPE}.