fr.dyade.aaa.agent.conf.A3CMLSaxWrapper Class Reference

Inherits fr.dyade.aaa.agent.conf.A3CMLWrapper.

Inheritance diagram for fr.dyade.aaa.agent.conf.A3CMLSaxWrapper:

Inheritance graph
[legend]
Collaboration diagram for fr.dyade.aaa.agent.conf.A3CMLSaxWrapper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 A3CMLSaxWrapper ()
A3CMLConfig parse (Reader cfgReader, String cfgName) throws Exception
void fatalError (SAXParseException e) throws SAXException
void error (SAXParseException e) throws SAXException
void warning (SAXParseException e) throws SAXException
void startDocument () throws SAXException
void startElement (String uri, String localName, String rawName, Attributes atts) throws SAXException
void endElement (String uri, String localName, String rawName) throws SAXException
void endDocument () throws SAXException

Protected Attributes

A3CMLConfig a3cmlConfig = null

Package Attributes

String configName = "default"
String conf = null
A3CMLDomain domain = null
A3CMLServer server = null
A3CMLNetwork network = null
A3CMLService service = null
A3CMLProperty property = null
String jvmArgs = null
A3CMLNat nat = null
A3CMLCluster cluster = null

Detailed Description

XML SAX Wrapper for A3 configuration file.

Definition at line 38 of file A3CMLSaxWrapper.java.


Member Function Documentation

A3CMLConfig fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.parse ( Reader  cfgReader,
String  cfgName 
) throws Exception

Parses the xml file named cfgFileName and calls handler methods. Calls only methode startDocument(), startElement, endElement and endDocument.

Parameters:
cfgFileName the name of the xml file
configName the name of the configuration
serverId the id of the local server
Exceptions:
Exception unspecialized error

Definition at line 102 of file A3CMLSaxWrapper.java.

References fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.a3cmlConfig.

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.fatalError ( SAXParseException  e  )  throws SAXException

Handles notification of a non-recoverable parser error.

Parameters:
e The warning information encoded as an exception.
Exceptions:
SAXException Any SAX exception, possibly wrapping another exception.

Definition at line 123 of file A3CMLSaxWrapper.java.

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.error ( SAXParseException  e  )  throws SAXException

Handles notification of a recoverable parser error.

Parameters:
e The warning information encoded as an exception.
Exceptions:
SAXException Any SAX exception, possibly wrapping another exception.

Definition at line 138 of file A3CMLSaxWrapper.java.

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.warning ( SAXParseException  e  )  throws SAXException

Handles notification of a parser warning.

Parameters:
e The warning information encoded as an exception.
Exceptions:
SAXException Any SAX exception, possibly wrapping another exception.

Definition at line 154 of file A3CMLSaxWrapper.java.

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startDocument (  )  throws SAXException

Initializes parsing of a document.

Exceptions:
SAXException unspecialized error

Definition at line 167 of file A3CMLSaxWrapper.java.

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement ( String  uri,
String  localName,
String  rawName,
Attributes  atts 
) throws SAXException

Receive notification of the start of an element.

Parameters:
uri The Namespace URI
localName The local name
rawName The qualified name
atts The attributes attached to the element.
Exceptions:
SAXException unspecialized error

Definition at line 183 of file A3CMLSaxWrapper.java.

References fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.cluster, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.conf, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.configName, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.domain, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.jvmArgs, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.nat, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.network, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.property, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.server, and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.service.

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement ( String  uri,
String  localName,
String  rawName 
) throws SAXException

Receive notification of the end of an element.

Parameters:
uri The Namespace URI
localName The local name
rawName The qualified name
atts The attributes attached to the element.
Exceptions:
SAXException unspecialized error

Definition at line 275 of file A3CMLSaxWrapper.java.

References fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.a3cmlConfig, fr.dyade.aaa.agent.conf.A3CMLConfig.addCluster(), fr.dyade.aaa.agent.conf.A3CMLConfig.addDomain(), fr.dyade.aaa.agent.conf.A3CMLServer.addNat(), fr.dyade.aaa.agent.conf.A3CMLServer.addNetwork(), fr.dyade.aaa.agent.conf.A3CMLCluster.addProperty(), fr.dyade.aaa.agent.conf.A3CMLServer.addProperty(), fr.dyade.aaa.agent.conf.A3CMLConfig.addProperty(), fr.dyade.aaa.agent.conf.A3CMLDomain.addServer(), fr.dyade.aaa.agent.conf.A3CMLCluster.addServer(), fr.dyade.aaa.agent.conf.A3CMLConfig.addServer(), fr.dyade.aaa.agent.conf.A3CMLServer.addService(), fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.cluster, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.conf, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.configName, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.domain, fr.dyade.aaa.agent.conf.A3CMLConfig.getDomain(), fr.dyade.aaa.agent.conf.A3CMLCluster.jvmArgs, fr.dyade.aaa.agent.conf.A3CMLServer.jvmArgs, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.jvmArgs, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.nat, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.network, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.property, fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.server, and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.service.

Here is the call graph for this function:

void fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endDocument (  )  throws SAXException

Finalizes parsing of a document.

Exceptions:
SAXException unspecialized error

Definition at line 350 of file A3CMLSaxWrapper.java.


Member Data Documentation

String fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.configName = "default" [package]

Name of configuration to get from the file.

Definition at line 46 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

String fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.conf = null [package]

Working attribute used during configuration's

Definition at line 48 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLDomain fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.domain = null [package]

Working attribute used during domain's definition between start and end element.

Definition at line 53 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLServer fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.server = null [package]

Working attribute used during server's definition between start and end element.

Definition at line 58 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLNetwork fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.network = null [package]

Working attribute used during network's definition between start and end element.

Definition at line 63 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLService fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.service = null [package]

Working attribute used during service's definition between start and end element.

Definition at line 68 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLProperty fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.property = null [package]

Working attribute used during service's definition between start and end element.

Definition at line 73 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

String fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.jvmArgs = null [package]

Working attribute used during jvmArgs' definition between start and end element.

Definition at line 78 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLNat fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.nat = null [package]

Working attribute used during nat' definition between start and end element.

Definition at line 83 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().

A3CMLCluster fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.cluster = null [package]

Working attribute used during cluster' definition between start and end element.

Definition at line 88 of file A3CMLSaxWrapper.java.

Referenced by fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.endElement(), and fr.dyade.aaa.agent.conf.A3CMLSaxWrapper.startElement().


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:16:59 2008 for joram by  doxygen 1.5.0