org.opensync.engine.server.config
Class SourcesSxPsr

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.opensync.engine.server.config.SourcesSxPsr
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class SourcesSxPsr
extends org.xml.sax.helpers.DefaultHandler

This class represents the parser use to parse the sources from the config file


Constructor Summary
SourcesSxPsr()
          Construct the SourcesSxPsr
 
Method Summary
 Sources parseSources(java.lang.String xml)
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourcesSxPsr

public SourcesSxPsr()
             throws javax.xml.parsers.ParserConfigurationException
Construct the SourcesSxPsr

Throws:
javax.xml.parsers.ParserConfigurationException
Method Detail

parseSources

public Sources parseSources(java.lang.String xml)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Parameters:
xml -
Throws:
java.io.IOException
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Parameters:
uri -
localName - ?qName?
qName -
attributes -
Throws:
org.xml.sax.SAXException


Copyright © 2004 sourceforge. All Rights Reserved.