Package | Description |
---|---|
tigase.xml.db |
This package contains implementation of simple data base stored in
XML file.
|
Modifier and Type | Method and Description |
---|---|
Object |
XMLDB.getData(String node1_id,
String key)
Retrieve value of given node
|
Object |
XMLDB.getData(String node1_id,
String subnode,
String key)
Retrieve value of given node under specific path
|
Object |
XMLDB.getData(String node1_id,
String subnode,
String key,
Object def)
Retrieve value of given node under specific path
|
double |
XMLDB.getDataDouble(String node1_id,
String subnode,
String key,
double def)
Retrieve value of given node under specific path
|
double[] |
XMLDB.getDataDoubleList(String node1_id,
String subnode,
String key)
Retrieve values of given node under specific path
|
int |
XMLDB.getDataInt(String node1_id,
String subnode,
String key,
int def)
Retrieve value of given node under specific path
|
int[] |
XMLDB.getDataIntList(String node1_id,
String subnode,
String key)
Retrieve values of given node under specific path
|
String[] |
XMLDB.getDataList(String node1_id,
String subnode,
String key)
Retrieve values of given node under specific path
|
String[] |
XMLDB.getKeys(String node1_id)
Retrieve list of keys under root
|
String[] |
XMLDB.getKeys(String node1_id,
String subnode)
Retrieve list of keys under specific path
|
protected DBElement |
XMLDB.getNode(String node1_id,
String subnode,
boolean auto_create)
Retrieves the node of the given name at specific path
|
protected DBElement |
XMLDB.getNode1(String node1_id) |
String[] |
XMLDB.getSubnodes(String node1_id)
Retrieve list of subnodes under root
|
String[] |
XMLDB.getSubnodes(String node1_id,
String subnode)
Retrieve list of subnodes under specific path
|
void |
XMLDB.removeData(String node1_id,
String key)
Removes data of specific key from node of given name under root element
|
void |
XMLDB.removeData(String node1_id,
String subnode,
String key)
Removes data of specific key from node of given name under given path
|
void |
XMLDB.removeNode1(String node1_id)
Removes the node
|
void |
XMLDB.removeSubnode(String node1_id,
String subnode)
Removes node of given name under given path
|
void |
XMLDB.setData(String node1_id,
String key,
Object value)
Sets data for the given node at root
|
void |
XMLDB.setData(String node1_id,
String subnode,
String key,
Object value)
Sets data for the given node at given path
|
Copyright © 2019 "Tigase, Inc.". All rights reserved.