de.uni_paderborn.fujaba.preferences.gui
Class ServerListParser

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byde.uni_paderborn.fujaba.preferences.gui.ServerListParser
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

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

The ServerListParser parses the PluginServer.xml document to get the URLs for PluginList documents. The PluginDownloadManager scans the document to parse available plug-ins to update and/or download it.

Version:
$Revision: 1.14.2.1 $
Author:
$Author: mksoft $

Constructor Summary
ServerListParser()
          Constructor for class ServerListParser
 
Method Summary
 void characters(char[] ch, int start, int length)
          No comment provided by developer, please add a comment to improve documentation.
 void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator getURLs(java.net.URL xmlURL)
          Get the pluginProperty attribute of the XMLToPluginProperty object
 boolean parseXML(java.net.URL xmlURL)
          No comment provided by developer, please add a comment to improve documentation.
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
          Method implements interface EntityResolver.
 void startElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerListParser

public ServerListParser()
Constructor for class ServerListParser

Method Detail

getURLs

public java.util.Iterator getURLs(java.net.URL xmlURL)
Get the pluginProperty attribute of the XMLToPluginProperty object

Parameters:
xmlURL - No description provided
Returns:
The pluginProperty value

parseXML

public boolean parseXML(java.net.URL xmlURL)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
xmlURL - No description provided
Returns:
No description provided

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException
Method implements interface EntityResolver.

Parameters:
publicId - No description provided
systemId - No description provided
Returns:
No description provided
Throws:
org.xml.sax.SAXException - Exception description not provided

startElement

public void startElement(java.lang.String uri,
                         java.lang.String name,
                         java.lang.String qName)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
uri - No description provided
name - No description provided
qName - No description provided

characters

public void characters(char[] ch,
                       int start,
                       int length)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
ch - No description provided
start - No description provided
length - No description provided

endElement

public void endElement(java.lang.String uri,
                       java.lang.String name,
                       java.lang.String qName)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
uri - No description provided
name - No description provided
qName - No description provided