com::cosylab::cdb::browser::BrowserJNDIXMLContext Class Reference

Inheritance diagram for com::cosylab::cdb::browser::BrowserJNDIXMLContext:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::cdb::browser::BrowserJNDIXMLContext:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Author:
dvitas

Constructor & Destructor Documentation

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]

Member Function Documentation

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]
See also:
Context::list(Name)

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]

Member Data Documentation

Referenced by initParser().

Referenced by lookup().

Referenced by BrowserJNDIXMLContext(), list(), and lookup().

Referenced by initParser().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2