|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
Repository.ArchiveHandler
SAX handler for archives.xml.
Changes:
alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Field Summary | |
(package private) Archive |
arch
Current archive |
(package private) java.util.TreeMap |
archives
Archive map. Key: Archive name Value: Archive object |
(package private) java.lang.StringBuffer |
data
Element data |
(package private) java.lang.String |
name
Archive name |
Constructor Summary | |
(package private) |
ArchiveHandler()
|
Method Summary | |
void |
characters(char[] buf,
int offset,
int len)
Method called to handle characters in elements. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName)
Method called at the end of an element. |
(package private) java.util.TreeMap |
getArchives()
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String sName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
Method called at the beginning of an element. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, 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 |
Field Detail |
java.lang.StringBuffer data
java.util.TreeMap archives
Archive arch
java.lang.String name
Constructor Detail |
ArchiveHandler()
Method Detail |
public void startElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
namespaceURI
- name spacesName
- simple nameqName
- qualified nameattrs
- attributes
org.xml.sax.SAXException
public void endElement(java.lang.String namespaceURI, java.lang.String sName, java.lang.String qName) throws org.xml.sax.SAXException
namespaceURI
- name spacesName
- simple nameqName
- qualified name
org.xml.sax.SAXException
public void characters(char[] buf, int offset, int len) throws org.xml.sax.SAXException
buf
- char bufferoffset
- first char offset in buflen
- number of chars
org.xml.sax.SAXException
java.util.TreeMap getArchives()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |