Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttribute(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- addAttributes(Map) - Method in class tigase.xml.Element
-
Deprecated.
- addCData(String) - Method in class tigase.xml.Element
- addChild(XMLNodeIfc) - Method in class tigase.xml.Element
-
Deprecated.
- addChildren(List) - Method in class tigase.xml.Element
- addNode1(String) - Method in class tigase.xml.db.XMLDB
-
Adds new node
- assignedTo() - Element in annotation interface tigase.xml.annotations.TODO
-
assignedToproperty allows you to assign developer for the code change described by this annotation. - ATTRIB_NAME - Enum constant in enum class tigase.xml.SimpleParser.State
- ATTRIB_VALUE_D - Enum constant in enum class tigase.xml.SimpleParser.State
- ATTRIB_VALUE_S - Enum constant in enum class tigase.xml.SimpleParser.State
- attributes - Variable in class tigase.xml.Element
-
Deprecated.
- ATTRIBUTES_NUMBER_LIMIT - Variable in class tigase.xml.SimpleParser
- ATTRIBUTES_NUMBER_LIMIT_PROP_KEY - Static variable in class tigase.xml.SimpleParser
B
- BOOLEAN - Enum constant in enum class tigase.xml.db.Types.DataType
- BOOLEAN_ARR - Enum constant in enum class tigase.xml.db.Types.DataType
- buildNodesTree(String) - Method in class tigase.xml.db.DBElement
C
- CData - Class in tigase.xml
-
Created: Feb 9, 2009 12:21:43 PM
- CData(String) - Constructor for class tigase.xml.CData
- cdataToString() - Method in class tigase.xml.Element
- checkIsCharValidInXML(SimpleParser.ParserState, char) - Method in class tigase.xml.SimpleParser
- checkIsCharValidNameChar(char, boolean) - Method in class tigase.xml.SimpleParser
- children - Variable in class tigase.xml.Element
-
Deprecated.
- childrenFormatedString(int, int) - Method in class tigase.xml.db.DBElement
- childrenToString() - Method in class tigase.xml.Element
-
Deprecated.
- childrenToString(StringBuilder) - Method in class tigase.xml.Element
-
Deprecated.
- childrenToStringPretty() - Method in class tigase.xml.Element
-
Deprecated.
- childrenToStringSecure() - Method in class tigase.xml.Element
-
Deprecated.
- childrenToStringSecure(StringBuilder) - Method in class tigase.xml.Element
-
Deprecated.
- clone() - Method in class tigase.xml.CData
- clone() - Method in class tigase.xml.Element
- clone() - Method in interface tigase.xml.XMLNodeIfc
- CLOSE_ELEMENT - Enum constant in enum class tigase.xml.SimpleParser.State
- CODEPOINT - Enum constant in enum class tigase.xml.SimpleParser.EntityType
- CODEPOINT_DEC - Enum constant in enum class tigase.xml.SimpleParser.EntityType
- CODEPOINT_HEX - Enum constant in enum class tigase.xml.SimpleParser.EntityType
- compareTo(CData) - Method in class tigase.xml.CData
- compareTo(Element) - Method in class tigase.xml.Element
-
Deprecated.
- createDB(String, String, String) - Static method in class tigase.xml.db.XMLDB
-
Factory method creating and setting up XMLDB
- CRITICAL - Enum constant in enum class tigase.xml.annotations.TODO.Severity
-
If change severity is set to
CRITICALit means that wihtout this change some progress is not possible.
D
- dataTypeMap - Static variable in class tigase.xml.db.Types
- DBElement - Class in tigase.xml.db
-
DBElementclass extendstigase.xml.Element. - DBElement(String) - Constructor for class tigase.xml.db.DBElement
- DBElement(String, String, String) - Constructor for class tigase.xml.db.DBElement
- DBElement(String, String, StringBuilder[], StringBuilder[]) - Constructor for class tigase.xml.db.DBElement
- DBElementFactory - Class in tigase.xml.db
-
DBElementFactoryis implementation of factory design pattern required by XML DOM builder to create properElementinstances for tree nodes. - DefaultElementFactory - Class in tigase.xml
-
DefaultElementFactoryis anElementFactoryimplementation creating instances of basicElementclass. - DefaultElementFactory() - Constructor for class tigase.xml.DefaultElementFactory
-
Creates a new
DefaultElementFactoryinstance. - defxmlns - Variable in class tigase.xml.Element
-
Deprecated.
- DOCUMENTATION - Enum constant in enum class tigase.xml.annotations.TODO.Severity
-
DOCUMENTATIONseverity refers to code which should be documented. - DomBuilderHandler - Class in tigase.xml
-
DomBuilderHandler- implementation ofSimpleHandlerbuilding DOM strctures during parsing time. - DomBuilderHandler() - Constructor for class tigase.xml.DomBuilderHandler
- DomBuilderHandler(ElementFactory) - Constructor for class tigase.xml.DomBuilderHandler
- DOUBLE - Enum constant in enum class tigase.xml.db.Types.DataType
- DOUBLE_ARR - Enum constant in enum class tigase.xml.db.Types.DataType
E
- Element - Class in tigase.xml
-
Element- basic document tree node implementation. - Element(String) - Constructor for class tigase.xml.Element
-
Deprecated.
- Element(String, String) - Constructor for class tigase.xml.Element
-
Deprecated.use
Element(java.lang.String)instead. - Element(String, String[], String[]) - Constructor for class tigase.xml.Element
-
Deprecated.use
Element(java.lang.String)instead. - Element(String, String, String[], String[]) - Constructor for class tigase.xml.Element
-
Deprecated.use
Element(java.lang.String)instead. - Element(String, String, StringBuilder[], StringBuilder[]) - Constructor for class tigase.xml.Element
-
Deprecated.use
Element(java.lang.String)instead. - Element(String, Element[], String[], String[]) - Constructor for class tigase.xml.Element
-
Deprecated.use
Element(java.lang.String)instead. - Element(Element) - Constructor for class tigase.xml.Element
- ELEMENT_CDATA - Enum constant in enum class tigase.xml.SimpleParser.State
- ELEMENT_NAME - Enum constant in enum class tigase.xml.SimpleParser.State
- Element.Matcher<T> - Interface in tigase.xml
-
Deprecated.replaced with usage of Predicate
- Element.XMLIdentityHashMap<K,
V> - Class in tigase.xml -
Deprecated.
- elementCData(StringBuilder) - Method in class tigase.xml.DomBuilderHandler
- elementCData(StringBuilder) - Method in interface tigase.xml.SimpleHandler
- elementCData(StringBuilder) - Method in class tigase.xml.XMLFormatter
- ElementFactory - Interface in tigase.xml
-
ElementFactoryis inderface definition for factories creating proper instances ofElementclass or its extension. - elementInstance(String, String, StringBuilder[], StringBuilder[]) - Method in class tigase.xml.db.DBElementFactory
-
Describe
elementInstancemethod here. - elementInstance(String, String, StringBuilder[], StringBuilder[]) - Method in class tigase.xml.DefaultElementFactory
- elementInstance(String, String, StringBuilder[], StringBuilder[]) - Method in interface tigase.xml.ElementFactory
- END_ELEMENT_NAME - Enum constant in enum class tigase.xml.SimpleParser.State
- END_OF_ATTR_NAME - Enum constant in enum class tigase.xml.SimpleParser.State
- endElement(StringBuilder) - Method in class tigase.xml.DomBuilderHandler
- endElement(StringBuilder) - Method in interface tigase.xml.SimpleHandler
- endElement(StringBuilder) - Method in class tigase.xml.XMLFormatter
- ENTITY - Enum constant in enum class tigase.xml.SimpleParser.State
- ENTRY - Static variable in class tigase.xml.db.DBElement
- equals(Object) - Method in class tigase.xml.Element
- error(String) - Method in class tigase.xml.DomBuilderHandler
- error(String) - Method in interface tigase.xml.SimpleHandler
- error(String) - Method in class tigase.xml.XMLFormatter
- ERROR - Enum constant in enum class tigase.xml.SimpleParser.State
- escape(String) - Static method in class tigase.xml.XMLUtils
F
- findChild(String) - Method in class tigase.xml.Element
-
Deprecated.use
Element.findChild(java.lang.String[])instead. - findChild(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- findChild(Element.Matcher) - Method in class tigase.xml.Element
-
Deprecated.
- findChildren(Element.Matcher) - Method in class tigase.xml.Element
-
Deprecated.
- findChildStaticStr(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- findEntry(String) - Method in class tigase.xml.db.DBElement
- findNode(String) - Method in class tigase.xml.db.DBElement
- findNode1(String) - Method in class tigase.xml.db.XMLDB
-
Return Element corresponding to the node name
- flatMapChildren(Function) - Method in class tigase.xml.Element
-
Deprecated.
- forEachChild(Consumer) - Method in class tigase.xml.Element
- formatedString(int, int) - Method in class tigase.xml.db.DBElement
G
- getAllNode1s() - Method in class tigase.xml.db.XMLDB
-
Retrieve list of nodes
- getAllNode1sCount() - Method in class tigase.xml.db.XMLDB
-
Retrieve number of nodes
- getAttribute(String) - Method in class tigase.xml.Element
- getAttribute(String[], String) - Method in class tigase.xml.Element
-
Deprecated.
- getAttribute(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- getAttributes() - Method in class tigase.xml.Element
- getAttributeStaticStr(String) - Method in class tigase.xml.Element
-
Deprecated.
- getAttributeStaticStr(String[], String) - Method in class tigase.xml.Element
-
Deprecated.
- getCData() - Method in class tigase.xml.CData
- getCData() - Method in class tigase.xml.Element
- getCData(String) - Method in class tigase.xml.Element
-
Deprecated.use
Element.getCData(java.lang.String[])instead. - getCData(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getCDataStaticStr(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getChild(String) - Method in class tigase.xml.Element
-
Deprecated.
- getChild(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- getChildAttribute(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- getChildAttributeStaticStr(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- getChildCData(String) - Method in class tigase.xml.Element
-
Deprecated.use
Element.getCData(java.lang.String[])instead. - getChildCData(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getChildCData(Element.Matcher) - Method in class tigase.xml.Element
-
Deprecated.
- getChildCDataStaticStr(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getChildren() - Method in class tigase.xml.Element
- getChildren(String) - Method in class tigase.xml.Element
-
Deprecated.use
Element.getChildren(java.lang.String[])instead. - getChildren(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getChildren(Element.Matcher) - Method in class tigase.xml.Element
-
Deprecated.
- getChildrenStaticStr(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getChildStaticStr(String) - Method in class tigase.xml.Element
-
Deprecated.
- getChildStaticStr(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- getData(String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve value of given node
- getData(String, String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve value of given node under specific path
- getData(String, String, String, Object) - Method in class tigase.xml.db.XMLDB
-
Retrieve value of given node under specific path
- getDataDouble(String, String, String, double) - Method in class tigase.xml.db.XMLDB
-
Retrieve value of given node under specific path
- getDataDoubleList(String, String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve values of given node under specific path
- getDataInt(String, String, String, int) - Method in class tigase.xml.db.XMLDB
-
Retrieve value of given node under specific path
- getDataIntList(String, String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve values of given node under specific path
- getDataList(String, String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve values of given node under specific path
- getDBFileName() - Method in class tigase.xml.db.XMLDB
-
Retrieves filename
- getEntry(String) - Method in class tigase.xml.db.DBElement
- getEntryDoubleArrValue(String, double[]) - Method in class tigase.xml.db.DBElement
- getEntryDoubleValue(String, double) - Method in class tigase.xml.db.DBElement
- getEntryIntArrValue(String, int[]) - Method in class tigase.xml.db.DBElement
- getEntryIntValue(String, int) - Method in class tigase.xml.db.DBElement
- getEntryKeys() - Method in class tigase.xml.db.DBElement
- getEntryStringArrValue(String, String[]) - Method in class tigase.xml.db.DBElement
- getEntryStringValue(String, String) - Method in class tigase.xml.db.DBElement
- getEntryValue(String, Object) - Method in class tigase.xml.db.DBElement
- getFactory() - Static method in class tigase.xml.db.DBElementFactory
- getKeys(String) - Method in class tigase.xml.db.XMLDB
-
Retrieve list of keys under root
- getKeys(String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve list of keys under specific path
- getName() - Method in class tigase.xml.Element
- getNode(String, String, boolean) - Method in class tigase.xml.db.XMLDB
-
Retrieves the node of the given name at specific path
- getNode1(String) - Method in class tigase.xml.db.XMLDB
- getParsedElements() - Method in class tigase.xml.DomBuilderHandler
- getParserInstance() - Static method in class tigase.xml.SingletonFactory
- getSubnode(String) - Method in class tigase.xml.db.DBElement
- getSubnodePath(String) - Method in class tigase.xml.db.DBElement
- getSubnodes() - Method in class tigase.xml.db.DBElement
- getSubnodes(String) - Method in class tigase.xml.db.XMLDB
-
Retrieve list of subnodes under root
- getSubnodes(String, String) - Method in class tigase.xml.db.XMLDB
-
Retrieve list of subnodes under specific path
- getXMLNS() - Method in class tigase.xml.Element
- getXMLNS(String) - Method in class tigase.xml.Element
-
Deprecated.use
Element.getXMLNS(java.lang.String[])instead. - getXMLNS(String[]) - Method in class tigase.xml.Element
-
Deprecated.
- getXMLNSStaticStr(String[]) - Method in class tigase.xml.Element
-
Deprecated.
H
- hashCode() - Method in class tigase.xml.Element
I
- IMPORTANT - Enum constant in enum class tigase.xml.annotations.TODO.Severity
-
IMPORTANTseverity means that this code does not block implementation of any functionality but might be inefficient, insecure or contain some temporary solution.
IMPORTANTseverity can be also assigned to code which needs some medium or major refactoring. - INTEGER - Enum constant in enum class tigase.xml.db.Types.DataType
- INTEGER_ARR - Enum constant in enum class tigase.xml.db.Types.DataType
- isAlpha(char) - Static method in class tigase.xml.SimpleParser
- isNumeric(char) - Static method in class tigase.xml.SimpleParser
K
L
- loadDB() - Method in class tigase.xml.db.XMLDB
-
Loads XML from file
- LONG - Enum constant in enum class tigase.xml.db.Types.DataType
- LONG_ARR - Enum constant in enum class tigase.xml.db.Types.DataType
M
- main(String[]) - Static method in class tigase.xml.Element
- main(String[]) - Static method in class tigase.xml.XMLFormatter
- main(String[]) - Static method in class tigase.xml.XMLUtils
- map(Function) - Method in class tigase.xml.Element
- MAP - Static variable in class tigase.xml.db.DBElement
- mapChildren(Function) - Method in class tigase.xml.Element
- mapChildren(Element.Matcher, Function) - Method in class tigase.xml.Element
-
Deprecated.
- match(T) - Method in interface tigase.xml.Element.Matcher
-
Deprecated.
- matches(Element.Matcher) - Method in class tigase.xml.Element
-
Deprecated.
- MAX_ATTRIBS_NUMBER - Variable in class tigase.xml.SimpleParser
-
Variable constant
MAX_ATTRIBS_NUMBERkeeps value of maximum possible attributes number. - MAX_ATTRIBS_NUMBER_PROP_KEY - Static variable in class tigase.xml.SimpleParser
- MAX_ATTRIBUTE_NAME_SIZE - Variable in class tigase.xml.SimpleParser
- MAX_ATTRIBUTE_NAME_SIZE_PROP_KEY - Static variable in class tigase.xml.SimpleParser
- MAX_ATTRIBUTE_VALUE_SIZE - Variable in class tigase.xml.SimpleParser
- MAX_ATTRIBUTE_VALUE_SIZE_PROP_KEY - Static variable in class tigase.xml.SimpleParser
- MAX_CDATA_SIZE - Variable in class tigase.xml.SimpleParser
- MAX_CDATA_SIZE_PROP_KEY - Static variable in class tigase.xml.SimpleParser
- MAX_ELEMENT_NAME_SIZE - Variable in class tigase.xml.SimpleParser
- MAX_ELEMENT_NAME_SIZE_PROP_KEY - Static variable in class tigase.xml.SimpleParser
N
- name - Variable in class tigase.xml.Element
-
Deprecated.
- NAME - Static variable in class tigase.xml.db.DBElement
- NAMED - Enum constant in enum class tigase.xml.SimpleParser.EntityType
- newSubnode(String) - Method in class tigase.xml.db.DBElement
- NODE - Static variable in class tigase.xml.db.DBElement
- NodeExistsException - Exception Class in tigase.xml.db
-
This exception is thrown when user tries to add subnode with name which already exists in data base.
- NodeExistsException() - Constructor for exception class tigase.xml.db.NodeExistsException
- NodeExistsException(String) - Constructor for exception class tigase.xml.db.NodeExistsException
- NodeExistsException(String, Throwable) - Constructor for exception class tigase.xml.db.NodeExistsException
- NodeExistsException(Throwable) - Constructor for exception class tigase.xml.db.NodeExistsException
- NodeNotFoundException - Exception Class in tigase.xml.db
-
Exception is thrown when user tries to access non-existen node on 1st level.
- NodeNotFoundException() - Constructor for exception class tigase.xml.db.NodeNotFoundException
- NodeNotFoundException(String) - Constructor for exception class tigase.xml.db.NodeNotFoundException
- NodeNotFoundException(String, Throwable) - Constructor for exception class tigase.xml.db.NodeNotFoundException
- NodeNotFoundException(Throwable) - Constructor for exception class tigase.xml.db.NodeNotFoundException
- note() - Element in annotation interface tigase.xml.annotations.TODO
-
noteproperty allows you to set and retrieve description text for expected code change.
O
- OPEN_BRACKET - Enum constant in enum class tigase.xml.SimpleParser.State
- OTHER_XML - Enum constant in enum class tigase.xml.SimpleParser.State
- otherXML(StringBuilder) - Method in class tigase.xml.DomBuilderHandler
- otherXML(StringBuilder) - Method in interface tigase.xml.SimpleHandler
- otherXML(StringBuilder) - Method in class tigase.xml.XMLFormatter
- outputExtraData(String) - Method in class tigase.xml.XMLFormatter
P
- parse(SimpleHandler, char[], int, int) - Method in class tigase.xml.SimpleParser
- parse(SimpleHandler, String) - Method in class tigase.xml.SimpleParser
- ParserState() - Constructor for class tigase.xml.SimpleParser.ParserState
- put(K, V) - Method in class tigase.xml.Element.XMLIdentityHashMap
-
Deprecated.
R
- removeAttribute(String) - Method in class tigase.xml.Element
- removeChild(Element) - Method in class tigase.xml.Element
- removed - Variable in class tigase.xml.db.DBElement
- removeData(String, String) - Method in class tigase.xml.db.XMLDB
-
Removes data of specific key from node of given name under root element
- removeData(String, String, String) - Method in class tigase.xml.db.XMLDB
-
Removes data of specific key from node of given name under given path
- removeEntry(String) - Method in class tigase.xml.db.DBElement
- removeNode(String) - Method in class tigase.xml.db.DBElement
- removeNode1(String) - Method in class tigase.xml.db.XMLDB
-
Removes the node
- removeSubnode(String, String) - Method in class tigase.xml.db.XMLDB
-
Removes node of given name under given path
- restoreParserState() - Method in class tigase.xml.DomBuilderHandler
- restoreParserState() - Method in interface tigase.xml.SimpleHandler
- restoreParserState() - Method in class tigase.xml.XMLFormatter
S
- saveDB() - Method in class tigase.xml.db.XMLDB
-
Saves XML to file
- saveParserState(Object) - Method in class tigase.xml.DomBuilderHandler
- saveParserState(Object) - Method in interface tigase.xml.SimpleHandler
- saveParserState(Object) - Method in class tigase.xml.XMLFormatter
- setAttribute(String, String) - Method in class tigase.xml.Element
- setAttributes(String[], String[]) - Method in class tigase.xml.Element
-
Deprecated.
- setAttributes(StringBuilder[], StringBuilder[]) - Method in class tigase.xml.Element
-
Deprecated.
- setAttributes(Map) - Method in class tigase.xml.Element
- setAttributeStaticStr(String[], String, String) - Method in class tigase.xml.Element
-
Deprecated.
- setCdata(String) - Method in class tigase.xml.CData
- setCData(String) - Method in class tigase.xml.Element
- setChildren(List) - Method in class tigase.xml.Element
- setData(String, String, Object) - Method in class tigase.xml.db.XMLDB
-
Sets data for the given node at root
- setData(String, String, String, Object) - Method in class tigase.xml.db.XMLDB
-
Sets data for the given node at given path
- setDefXMLNS(String) - Method in class tigase.xml.Element
-
Deprecated.
- setEntry(String, Object) - Method in class tigase.xml.db.DBElement
- setName(String) - Method in class tigase.xml.Element
- setupNewDB(String, String, String) - Method in class tigase.xml.db.XMLDB
-
Creates basic Elements of the XMLDB
- setXMLNS(String) - Method in class tigase.xml.Element
- severity() - Element in annotation interface tigase.xml.annotations.TODO
-
severityproperty allows you to set and retrieve severity of expected code change described by thisTODOannotation. - SimpleHandler - Interface in tigase.xml
-
SimpleHandler- parser handler interface for event driven parser. - SimpleParser - Class in tigase.xml
-
SimpleParser- implementation of SAX parser. - SimpleParser() - Constructor for class tigase.xml.SimpleParser
- SimpleParser.EntityType - Enum Class in tigase.xml
- SimpleParser.ParserState - Class in tigase.xml
- SimpleParser.State - Enum Class in tigase.xml
- Simple XML parser implementation. - Section in package tigase.xml
- SingletonFactory - Class in tigase.xml
-
SingletonFactoryprovides a way to use only one instance ofSimpleParserin all your code. - SingletonFactory() - Constructor for class tigase.xml.SingletonFactory
- START - Enum constant in enum class tigase.xml.SimpleParser.State
- startElement(StringBuilder, StringBuilder[], StringBuilder[]) - Method in class tigase.xml.DomBuilderHandler
- startElement(StringBuilder, StringBuilder[], StringBuilder[]) - Method in interface tigase.xml.SimpleHandler
- startElement(StringBuilder, StringBuilder[], StringBuilder[]) - Method in class tigase.xml.XMLFormatter
- STRING - Enum constant in enum class tigase.xml.db.Types.DataType
- STRING_ARR - Enum constant in enum class tigase.xml.db.Types.DataType
- sync() - Method in class tigase.xml.db.XMLDB
-
Performs synchronization with the file
T
- This package contains implementation of simple data base stored in XML file. This data base implementation is very simple but also very handy. It simple because it reads whole data base file into memory to operate on data. It allows to store and retrieve only text or character string data. Data base is kept in XML file. This gives us a few nice benefits: First of all this is hierachical data base so you can organize your data in tree like structures. It looks like a file system directory structure and you also operate on it in very similar way. Second it allows you to assign any number of values to one key. They are called data lists. As a whole data base is kept in memory it is not good for storring large number of data in one file. But it is very fast. It is good especially for storring configuration or data which are similar in their nature to LDAP supporting data bases. You don't have to worry about saving data. Each time you add new item to data base it take care about saving them to permanent storage. XMLDB is the main data base access class. It allows you to create new data base in given file, open data base from given file, add, delete and retrieve data and data lists. All data or data lists are stored in data base nodes. There are three possible kinds of nodes for each data base: root node - this is top node in each XML hierachy tree. There can be only one root node in data base as there can be only one root element in XML file. The element name for root node can be defined by the user when new data base is created or defualt element name 'root' is used. node1 nodes - these are the first level nodes under root node. There can be any number of nodes on this level. All data added for this data base are added to first level node unless subnode path is given. User can define element name of node1 when new data base is created. If not given default element name 'node' is used. subnodes - node on any deeper level under node1 level. There can be any number of subnodes on any level. Subnodes has always 'node' element name and this can't be changed. All node1 nodes and subnodes can contains any number of data associated with keys. With some keys there ca be more than one value assigned. Such kind of data are called data lists. Although element name for subnode can not be defined it is actually not important. Because data base user doesn't use subnode element names. He doesn't even use neiher root node element name nor node1 element name. Data base user uses node name what is quite different from node element name. Let see example below: <node name='roster'/> In this example node element name is node and node name is roster. Data base users (actually developers) use only node names. If you want to access subnode on some level you need to give full path to this subnode. For example, let's assume we have following data base: <;node name='tigase'> <node name='server'> </node> <node name='xmpp'> </node> </node> If you need to access 'server' subnode you need to call method with '/tigase/server' as subnode path and for subnode 'xmpp' proper subnode path is of course '/tigase/xmpp'. If you skip subnode path or give null as a parameter you will be accessing data on node1 level. You can not access or save data on root node level. DBElement class extends tigase.xml.Element. It adds some extra functionality useful for data base operations like searching for some specific nodes, add data entries, remove data, and all other common operations not directly related to pure XML processing. Pure XML processing is of course implemented in tigase.xml.Element. The are also some methods which make it easier to save XML tree from memory to disk file in a form which is easier to read by a human. DBElementFactory is implementation of factory design pattern required by XML DOM builder to create proper Element instances for tree nodes. - Section in package tigase.xml.db
- tigase.xml - package tigase.xml
-
Simple XML parser implementation.
- tigase.xml.annotations - package tigase.xml.annotations
- tigase.xml.db - package tigase.xml.db
-
This package contains implementation of simple data base stored in XML file.
- timeLine() - Element in annotation interface tigase.xml.annotations.TODO
-
timeLineproperty allows you to set and retrieve expected time by when the change should be done to this code. - TODO - Annotation Interface in tigase.xml.annotations
-
TODOthis is information for developers that there is still something to do with annotated code. - TODO.Severity - Enum Class in tigase.xml.annotations
-
This enumeration defines importance levels for code change which is expected to be made for annotated element.
- toString() - Method in class tigase.xml.CData
- toString() - Method in enum class tigase.xml.db.Types.DataType
- toString() - Method in class tigase.xml.db.XMLDB
- toString() - Method in class tigase.xml.Element
- toString(StringBuilder) - Method in class tigase.xml.Element
- toStringNoChildren() - Method in class tigase.xml.Element
- toStringPretty() - Method in class tigase.xml.CData
- toStringPretty() - Method in class tigase.xml.Element
- toStringPretty() - Method in interface tigase.xml.XMLNodeIfc
- toStringSecure() - Method in class tigase.xml.CData
- toStringSecure() - Method in class tigase.xml.Element
- toStringSecure() - Method in interface tigase.xml.XMLNodeIfc
- toStringSecure(StringBuilder) - Method in class tigase.xml.Element
- translateAll(String, String[], String[]) - Static method in class tigase.xml.XMLUtils
- TRIVIAL - Enum constant in enum class tigase.xml.annotations.TODO.Severity
-
TRIVIALseverity means that this code works correctly and is implemented according to design but there is still some minor improvement that can be done or just cleaning the code.
TRIVIALseverity can be assigned also to code which needs some minor refactoring. - TYPE - Static variable in class tigase.xml.db.DBElement
- Types - Class in tigase.xml.db
-
Describe class Types here.
- Types() - Constructor for class tigase.xml.db.Types
- Types.DataType - Enum Class in tigase.xml.db
-
Describe class DataType here.
U
- UNDEFINED - Enum constant in enum class tigase.xml.db.Types.DataType
- unescape(String) - Static method in class tigase.xml.XMLUtils
- UNKNOWN - Enum constant in enum class tigase.xml.SimpleParser.EntityType
V
- VALUE - Static variable in class tigase.xml.db.DBElement
- valueof(String) - Static method in enum class tigase.xml.db.Types.DataType
- valueOf(String) - Static method in enum class tigase.xml.annotations.TODO.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tigase.xml.db.Types.DataType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tigase.xml.SimpleParser.EntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tigase.xml.SimpleParser.State
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class tigase.xml.annotations.TODO.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tigase.xml.db.Types.DataType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tigase.xml.SimpleParser.EntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tigase.xml.SimpleParser.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAttribute(String, String) - Method in class tigase.xml.Element
-
Deprecated.
- withElement(String, String, String) - Method in class tigase.xml.Element
-
Deprecated.
- withElement(String, String, Consumer) - Method in class tigase.xml.Element
-
Deprecated.
- withElement(String, Consumer) - Method in class tigase.xml.Element
-
Deprecated.
X
- XMLDB - Class in tigase.xml.db
-
XMLDBis the main database access class. - XMLDB(String) - Constructor for class tigase.xml.db.XMLDB
-
Creates XMLDB object with desired filename, if file modes is enabled then appropriate saver thread is created as well.
- XMLDBException - Exception Class in tigase.xml.db
-
This is parrent exception for all data base related exceptions.
- XMLDBException() - Constructor for exception class tigase.xml.db.XMLDBException
- XMLDBException(String) - Constructor for exception class tigase.xml.db.XMLDBException
- XMLDBException(String, Throwable) - Constructor for exception class tigase.xml.db.XMLDBException
- XMLDBException(Throwable) - Constructor for exception class tigase.xml.db.XMLDBException
- XMLFormatter - Class in tigase.xml
-
This is temporary code used for testing purposes only.
- XMLFormatter(OutputStream) - Constructor for class tigase.xml.XMLFormatter
- XMLNodeIfc<T> - Interface in tigase.xml
-
Created: Feb 9, 2009 12:21:23 PM
- xmlns - Variable in class tigase.xml.Element
-
Deprecated.
- XMLUtils - Class in tigase.xml
-
Describe class XMLUtil here.
- XMLUtils() - Constructor for class tigase.xml.XMLUtils
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Element.setAttribute(String, String)} instead.