public class InternalStore extends Object implements Store
| Modifier and Type | Field and Description |
|---|---|
static String |
PRIMARY_KEY_NAME |
| Constructor and Description |
|---|
InternalStore()
Used to initialize the store.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
createPath(String absPath) |
Node |
getNode(String path)
Retrieves a node based on a path.
|
String |
getPrimaryKeyName()
Identifies the property that is used as the 'primary' key for this
type of store.
|
Node |
getRootNode()
Returns the Root Node.
|
boolean |
nodeExists(String path)
Checks to see if a node exists at the given path.
|
public static final String PRIMARY_KEY_NAME
public Node getNode(String path) throws PathNotFoundException
Storestore.getNode("/node3/node4")store.getNode("/../nodeX/nodeY")store.getNode("/node3/../nodeX")store.getNode("/node1/node2").getParent().getNode("nodeX/nodeY")
This store is intended for INTERNAL USE ONLY. This is not intended for use
in custom configuration, data, or cartridge handlers.getNode in interface Storepath - The path to the desired node.PathNotFoundException - Thrown if any element of the requested
path is not valid.public Node getRootNode()
StoregetRootNode in interface Storepublic boolean nodeExists(String path)
StorenodeExists in interface Storepath - The path to the requested node.public Node createPath(String absPath) throws BadPathException, PathNotFoundException
public String getPrimaryKeyName()
StoregetPrimaryKeyName in interface StoreCopyright © 2013, Oracle and/or its affiliates. All rights reserved.