The following section explains level 2 of the content repository API on a functional basis. For an explanation organized on an interface-by-interface basis, see the accompanying Javadoc.
Level 2 defines a read/write repository. This includes all features of level 1, as well as the following:
Adding and removing nodes and properties
Writing the values of properties
Persistent namespace changes
Import from XML/SAX
Assigning node types to nodes
Where a level 1-only repository would differ in behavior from a level 2 repository, this is indicated.