jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r189755 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java
Date Thu, 09 Jun 2005 14:16:10 GMT
Author: stefan
Date: Thu Jun  9 07:16:08 2005
New Revision: 189755

URL: http://svn.apache.org/viewcvs?rev=189755&view=rev
Log:
added some missing constants

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java?rev=189755&r1=189754&r2=189755&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/Constants.java Thu Jun
 9 07:16:08 2005
@@ -23,6 +23,7 @@
 public interface Constants {
 
     //------------------------------------------< namespace related constants >
+
     // default namespace (empty uri)
     String NS_EMPTY_PREFIX = "";
     String NS_DEFAULT_URI = "";
@@ -53,7 +54,7 @@
     String NS_XMLNS_PREFIX = "xmlns";
     String NS_XMLNS_URI = "http://www.w3.org/2000/xmlns/";
 
-    //----------------------------------------< general item name constants >---
+    //------------------------------------------< general item name constants >
 
     /**
      * jcr:system
@@ -90,7 +91,12 @@
      */
     QName JCR_LASTMODIFIED = new QName(NS_JCR_URI, "lastModified");
 
-    //------------------------------------< xml related item name constants >---
+    /**
+     * jcr:content
+     */
+    QName JCR_CONTENT = new QName(NS_JCR_URI, "content");
+
+    //--------------------------------------< xml related item name constants >
 
     /**
      * jcr:root (dummy name for root node used in XML serialization)
@@ -107,7 +113,7 @@
      */
     QName JCR_XMLCHARACTERS = new QName(NS_JCR_URI, "xmlcharacters");
 
-    //----------------------------------------< locking item name constants >---
+    //----------------------------------< locking related item name constants >
 
     /**
      * jcr:lockOwner
@@ -119,7 +125,7 @@
      */
     QName JCR_LOCKISDEEP = new QName(NS_JCR_URI, "lockIsDeep");
 
-    //-------------------------------------< versioning item name constants >---
+    //-------------------------------< versioning related item name constants >
 
     /**
      * jcr:versionStorage
@@ -196,7 +202,7 @@
      */
     QName JCR_VERSIONABLEUUID = new QName(NS_JCR_URI, "versionableUuid");
 
-    //--------------------------------------< node type item name constants >---
+    //--------------------------------< node type related item name constants >
 
     /**
      * jcr:nodeTypeName
@@ -293,7 +299,7 @@
      */
     QName JCR_REQUIREDPRIMARYTYPES = new QName(NS_JCR_URI, "requiredPrimaryTypes");
 
-    //-------------------------------------------< node type name constants >---
+    //---------------------------------------------< node type name constants >
 
     /**
      * rep:root
@@ -334,6 +340,16 @@
      * nt:resource
      */
     QName NT_RESOURCE = new QName(NS_NT_URI, "resource");
+
+    /**
+     * nt:file
+     */
+    QName NT_FILE = new QName(NS_NT_URI, "file");
+
+    /**
+     * nt:folder
+     */
+    QName NT_FOLDER = new QName(NS_NT_URI, "folder");
 
     /**
      * nt:query



Mime
View raw message