|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
de.uni_paderborn.fujaba.preferences.gui.ServerListParser
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.
| Field Summary | |
private static java.lang.String |
PLUGIN_SERVER
|
private static java.lang.String |
PLUGIN_SERVER_DTD_RESOURCE
|
private static java.lang.String |
PLUGIN_SERVER_PUBLIC_ID
Name used in Plugin definitions (XML-files) to identify the DTD. |
private static java.lang.String |
PLUGIN_SERVER_SYSTEM_ID
URL used in Plugin definitions (XML-files) to identify the DTD. |
private static java.lang.String |
PLUGIN_SERVER_SYSTEM_ID2
Alternative URL used in Plugin definitions (XML-files) to identify the DTD. |
private static java.net.URL |
pluginServerDTD
|
private static int |
S_NONE
State |
private static int |
S_PLUGIN_SERVER
State |
private static int |
S_URL
State |
private static java.lang.String |
SERVER_URL
|
private int |
state
|
private java.util.Vector |
urlVector
No comment provided by developer, please add a comment to improve documentation. |
| 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 |
| Field Detail |
private static final java.lang.String PLUGIN_SERVER_SYSTEM_ID
private static final java.lang.String PLUGIN_SERVER_SYSTEM_ID2
private static final java.lang.String PLUGIN_SERVER_PUBLIC_ID
private static final java.lang.String PLUGIN_SERVER_DTD_RESOURCE
private static java.net.URL pluginServerDTD
private static final java.lang.String PLUGIN_SERVER
private static final java.lang.String SERVER_URL
private static final int S_NONE
private static final int S_PLUGIN_SERVER
private static final int S_URL
private int state
private java.util.Vector urlVector
| Constructor Detail |
public ServerListParser()
| Method Detail |
public java.util.Iterator getURLs(java.net.URL xmlURL)
xmlURL - No description provided
public boolean parseXML(java.net.URL xmlURL)
xmlURL - No description provided
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException
publicId - No description providedsystemId - No description provided
org.xml.sax.SAXException - Exception description not provided
public void startElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName)
uri - No description providedname - No description providedqName - No description provided
public void characters(char[] ch,
int start,
int length)
ch - No description providedstart - No description providedlength - No description provided
public void endElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName)
uri - No description providedname - No description providedqName - No description provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||