|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeSequence
Extension of Sequence<Node>
which provides methods for
adding and removing nodes by key.
Method Summary | |
---|---|
Node |
addNode(String key,
String primaryNodeTypeName)
Add a with the given key and primary node type name. |
void |
removeNode(String key)
Remove the node with the given key. |
Methods inherited from interface org.apache.jackrabbit.commons.flat.Sequence |
---|
getItem, hasItem, iterator |
Method Detail |
---|
Node addNode(String key, String primaryNodeTypeName) throws RepositoryException
key
and primary node type name.
key
- key of the node to addprimaryNodeTypeName
- primary node type of the node to add
RepositoryException
void removeNode(String key) throws RepositoryException
key
- The key of the node to remove
RepositoryException
- If there is no node with such a key or
another error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |