fr.fluxmedia.transmorpher.Parser
Class FMParser
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--fr.fluxmedia.transmorpher.Parser.FMParser
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Direct Known Subclasses:
- ProcessParser, QueryParser, RuleSetParser
- public class FMParser
- extends DefaultHandler
Author : Laurent Tardif
Date : 05 01 2001
Content : Define a parser for XML Document
Constructor Summary |
FMParser(int debug_mode)
The constructor, build the XML Parser but not parse the document |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
DEFAULT_PARSER_NAME
private static final String DEFAULT_PARSER_NAME
- The XML Parser class
iParser
SAXParser iParser
- XML Parser
iContext
Stack iContext
- The current context of the parsing
output
PrintWriter output
- The output for a servlet
debugMode
int debugMode
FMParser
public FMParser(int debug_mode)
- The constructor, build the XML Parser but not parse the document
Newparse
public Transmorpher Newparse(String uri)
- Parse the document given in parameter
warning
public void warning(SAXParseException exception)
throws SAXException
- Overrides:
warning
in class DefaultHandler
error
public void error(SAXParseException ex)
- Overrides:
error
in class DefaultHandler
fatalError
public void fatalError(SAXParseException ex)
throws SAXException
- Overrides:
fatalError
in class DefaultHandler
..no bottom yet...