fr.dyade.aaa.agent.conf
Class A3CMLSaxWrapper
DefaultHandler
fr.dyade.aaa.agent.conf.A3CMLSaxWrapper
- A3CMLWrapper
public class A3CMLSaxWrapper
extends DefaultHandler
XML SAX Wrapper for A3 configuration file.
void | endDocument() - Finalizes parsing of a document.
|
void | endElement(String uri, String localName, String rawName) - Receive notification of the end of an element.
|
void | error(SAXParseException e) - Handles notification of a recoverable parser error.
|
void | fatalError(SAXParseException e) - Handles notification of a non-recoverable parser error.
|
A3CMLConfig | parse(Reader cfgReader, String cfgName) - Parses the xml file named
cfgFileName and calls handler
methods.
|
void | startDocument() - Initializes parsing of a document.
|
void | startElement(String uri, String localName, String rawName, Attributes atts) - Receive notification of the start of an element.
|
void | warning(SAXParseException e) - Handles notification of a parser warning.
|
logmon
protected Logger logmon
A3CMLSaxWrapper
public A3CMLSaxWrapper()
endDocument
public void endDocument()
throws SAXException
Finalizes parsing of a document.
endElement
public void endElement(String uri,
String localName,
String rawName)
throws SAXException
Receive notification of the end of an element.
uri
- The Namespace URIlocalName
- The local namerawName
- The qualified name
error
public void error(SAXParseException e)
throws SAXException
Handles notification of a recoverable parser error.
e
- The warning information encoded as an exception.
fatalError
public void fatalError(SAXParseException e)
throws SAXException
Handles notification of a non-recoverable parser error.
e
- The warning information encoded as an exception.
parse
public A3CMLConfig 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
.
startDocument
public void startDocument()
throws SAXException
Initializes parsing of a document.
startElement
public void startElement(String uri,
String localName,
String rawName,
Attributes atts)
throws SAXException
Receive notification of the start of an element.
uri
- The Namespace URIlocalName
- The local namerawName
- The qualified nameatts
- The attributes attached to the element.
warning
public void warning(SAXParseException e)
throws SAXException
Handles notification of a parser warning.
e
- The warning information encoded as an exception.
Copyright B) 2004 Scalagent - All rights reserved