public interface INodeReadTrx
Modifier and Type | Method and Description |
---|---|
void |
close()
Close shared read transaction and immediately release all resources.
|
INode |
getNode()
Getting the current node.
|
QName |
getQNameOfCurrentNode()
Getting the name of a current node.
|
String |
getTypeOfCurrentNode()
Getting the type of the current node.
|
String |
getValueOfCurrentNode()
Getting the value of the current node.
|
boolean |
isClosed()
Is this transaction closed?
|
boolean |
moveTo(long pKey)
Move cursor to a node by its node key.
|
boolean |
moveToAttribute(int pIndex)
Move cursor to attribute by its index.
|
boolean |
moveToNamespace(int pIndex)
Move cursor to namespace declaration by its index.
|
String |
nameForKey(int pKey)
Get name for key.
|
boolean moveTo(long pKey) throws TTIOException
pKey
- Key of node to select.TTIOException
- if retrieval fails (including non-existing of node)boolean moveToAttribute(int pIndex) throws TTIOException
pIndex
- Index of attribute to move to.TTIOException
- if retrieval fails (including non-existing of node)boolean moveToNamespace(int pIndex) throws TTIOException
pIndex
- Index of attribute to move to.TTIOException
- if retrieval fails (including non-existing of node)String getValueOfCurrentNode()
QName getQNameOfCurrentNode()
QName
of the nodeString getTypeOfCurrentNode()
String nameForKey(int pKey)
pKey
- Key, i.e., local part key, URI key, or prefix key.INode getNode()
void close() throws TTException
TTException
- If can't close Read Transaction.boolean isClosed()
Copyright © 2013. All Rights Reserved.