|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
fr.dyade.aaa.agent.conf.A3CMLSaxWrapper
XML SAX Wrapper for A3 configuration file.
| Field Summary | |
protected A3CMLConfig |
a3cmlConfig
|
protected org.objectweb.util.monolog.api.Logger |
logmon
|
| Constructor Summary | |
A3CMLSaxWrapper()
|
|
| Method Summary | |
void |
endDocument()
Finalizes parsing of a document. |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
Receive notification of the end of an element. |
void |
error(org.xml.sax.SAXParseException e)
Handles notification of a recoverable parser error. |
void |
fatalError(org.xml.sax.SAXParseException e)
Handles notification of a non-recoverable parser error. |
A3CMLConfig |
parse(java.io.Reader cfgReader,
java.lang.String cfgName)
Parses the xml file named cfgFileName and calls handler
methods. |
void |
startDocument()
Initializes parsing of a document. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes atts)
Receive notification of the start of an element. |
void |
warning(org.xml.sax.SAXParseException e)
Handles notification of a parser warning. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.objectweb.util.monolog.api.Logger logmon
protected A3CMLConfig a3cmlConfig
| Constructor Detail |
public A3CMLSaxWrapper()
| Method Detail |
public A3CMLConfig parse(java.io.Reader cfgReader,
java.lang.String cfgName)
throws java.lang.Exception
cfgFileName and calls handler
methods. Calls only methode startDocument(),
startElement, endElement and
endDocument.
parse in interface A3CMLWrappercfgName - the name of the configuration
java.lang.Exception - unspecialized error
public void fatalError(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlere - The warning information encoded as an exception.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void error(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlere - The warning information encoded as an exception.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void warning(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlere - The warning information encoded as an exception.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException - unspecialized error
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandleruri - The Namespace URIlocalName - The local namerawName - The qualified nameatts - The attributes attached to the element.
org.xml.sax.SAXException - unspecialized error
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String rawName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandleruri - The Namespace URIlocalName - The local namerawName - The qualified name
org.xml.sax.SAXException - unspecialized error
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException - unspecialized error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||