Interface RepositoryMap

All Superinterfaces:
Map

public interface RepositoryMap extends Map
Map representation of a JCR Node.

Properties and sub-nodes of the node representing the map are available via the #get() method. This method returns three types of values depending on whether the requested object is a node, a single-valued property, or a multi-valued property: a RepositoryMap, a primitive Object representing the value of the property (a String, Boolean, Calendar, Long, or a RepositoryMap in case of a reference property), or an Object[] containing such values.

In the case of properties and sub-nodes with the same name, properties have precedence. In the case of same name sibling nodes, only the first node is returned in the form a RepositoryMap.

  • Method Details

    • exists

      boolean exists()