

Classes | |
| class | JNDI_XMLNodesEnumeration |
Public Member Functions | |
| BrowserJNDIXMLContext (String name, String elements, String xml, Logger logger) | |
| BrowserJNDIXMLContext (String name, XMLTreeNode node, Logger logger) | |
| NamingEnumeration | list (Name name) throws NamingException |
| Object | lookup (Name name) throws NamingException |
Static Protected Member Functions | |
| static void | initParser () |
Private Attributes | |
| XMLTreeNode | node |
| Hashtable | nestedElements |
Static Private Attributes | |
| static boolean | parserInited = false |
| static SAXParserFactory | factory |
| static SAXParser | saxParser |
| com::cosylab::cdb::browser::BrowserJNDIXMLContext::BrowserJNDIXMLContext | ( | String | name, | |
| String | elements, | |||
| String | xml, | |||
| Logger | logger | |||
| ) | [inline] |
Selected node becomes a XMLTreeNode. This node contains the attributes (names AND values) of the next CDBTree level. (throught parsing of the xml String)
References com::cosylab::cdb::jdal::XMLTreeNode::getFieldMap(), initParser(), com::cosylab::cdb::jdal::XMLHandler::m_errorString, com::cosylab::cdb::jdal::XMLHandler::m_rootNode, node, saxParser, and alma::cdbErrType::wrappers::AcsJCDBXMLErrorEx::setErrorString().
Referenced by lookup().
| com::cosylab::cdb::browser::BrowserJNDIXMLContext::BrowserJNDIXMLContext | ( | String | name, | |
| XMLTreeNode | node, | |||
| Logger | logger | |||
| ) | [inline] |
| static void com::cosylab::cdb::browser::BrowserJNDIXMLContext::initParser | ( | ) | [inline, static, protected] |
References factory, parserInited, and saxParser.
Referenced by BrowserJNDIXMLContext().
| NamingEnumeration com::cosylab::cdb::browser::BrowserJNDIXMLContext::list | ( | Name | name | ) | throws NamingException [inline] |
Reimplemented from com::cosylab::cdb::jdal::JNDIContext.
References lookup(), com::cosylab::cdb::jdal::JNDIContext::name, and node.
| Object com::cosylab::cdb::browser::BrowserJNDIXMLContext::lookup | ( | Name | name | ) | throws NamingException [inline] |
This methos returns either a new JNDI_Context or a new JNDI_XMLContxt obj.
Reimplemented from com::cosylab::cdb::browser::BrowserJNDIContext.
References BrowserJNDIXMLContext(), com::cosylab::cdb::jdal::XMLTreeNode::getFieldMap(), com::cosylab::cdb::jdal::XMLTreeNode::getNodesMap(), com::cosylab::cdb::jdal::JNDIContext::logger, com::cosylab::cdb::jdal::JNDIContext::name, nestedElements, and node.
Referenced by list().
SAXParserFactory com::cosylab::cdb::browser::BrowserJNDIXMLContext::factory [static, private] |
Referenced by initParser().
Hashtable com::cosylab::cdb::browser::BrowserJNDIXMLContext::nestedElements [private] |
Referenced by lookup().
Referenced by BrowserJNDIXMLContext(), list(), and lookup().
boolean com::cosylab::cdb::browser::BrowserJNDIXMLContext::parserInited = false [static, private] |
Referenced by initParser().
SAXParser com::cosylab::cdb::browser::BrowserJNDIXMLContext::saxParser [static, private] |
Referenced by BrowserJNDIXMLContext(), and initParser().
1.6.2