Interface JcrConstants

All Known Subinterfaces:
LockConstants, LockConstants, NodeTypeConstants, NodeTypeConstants, VersionConstants, VersionConstants
All Known Implementing Classes:
InitialContent

public interface JcrConstants
This interface defines some of the item names that are defined in the JCR Specification 1.0 in the qualified form, using the default prefixes jcr, nt and mix.

Please note that those prefixes can by redefined by an application using the Session.setNamespacePrefix(String, String) method. As a result, the constants may not refer to the respective items.

On the other hand, the constants in NodeType, Node, Property and Workspace are more complete (covering JCR 2.0 as well) and also define names using expanded form, which is immune to session local remappings, so it is recommended to use those constants instead whenever possible.