com.ds.fw.xml
Class FwXMLParser

java.lang.Object
  |
  +--com.ds.fw.xml.FwXMLParser
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class FwXMLParser
extends java.lang.Object
implements org.xml.sax.ErrorHandler


Constructor Summary
FwXMLParser()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException ex)
          Error.
 void fatalError(org.xml.sax.SAXParseException ex)
          Fatal error.
 org.w3c.dom.Document parse(java.lang.String uri)
          Parses the specified URI and returns the document.
 void setFeature(java.lang.String featureId, boolean state)
           
 void warning(org.xml.sax.SAXParseException ex)
          Warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FwXMLParser

public FwXMLParser()
Method Detail

parse

public org.w3c.dom.Document parse(java.lang.String uri)
                           throws java.lang.Exception
Parses the specified URI and returns the document.

java.lang.Exception

setFeature

public void setFeature(java.lang.String featureId,
                       boolean state)
                throws org.xml.sax.SAXNotRecognizedException,
                       org.xml.sax.SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException

warning

public void warning(org.xml.sax.SAXParseException ex)
             throws org.xml.sax.SAXException
Warning.

Specified by:
warning in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException

error

public void error(org.xml.sax.SAXParseException ex)
Error.

Specified by:
error in interface org.xml.sax.ErrorHandler

fatalError

public void fatalError(org.xml.sax.SAXParseException ex)
                throws org.xml.sax.SAXException
Fatal error.

Specified by:
fatalError in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException