Interface Name

  • All Superinterfaces:
    java.lang.Cloneable, java.lang.Comparable, java.io.Serializable

    public interface Name
    extends java.lang.Comparable, java.lang.Cloneable, java.io.Serializable
    A Name is a combination of a namespace URI and a local part. Instances of this class are used to internally represent the names of JCR content items and other objects within a content repository.

    A Name is immutable once created.

    The String representation of a Name object must be in the format "{namespaceURI}localPart".

    An implementation of the Name interface must implement the Object.equals(Object) method such that two Name objects are equal if both the namespace URI and the local part are equal.