Class ArchivesHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.epics.archiverappliance.mgmt.bpl.cahdlers.ArchivesHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class ArchivesHandler extends DefaultHandler
SAX2 for handling archiver.archives.- Author:
- mshankar
-
-
Constructor Summary
Constructors Constructor Description ArchivesHandler()
-
Method Summary
Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String localName, String qName)
LinkedList<HashMap<String,String>>
getArchives()
Returns the archives that supported by this Channel Archiver.void
startElement(String uri, String localName, String qName, Attributes attributes)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
getArchives
public LinkedList<HashMap<String,String>> getArchives()
Returns the archives that supported by this Channel Archiver. Keys are- key - The integer key we use to pass to the rest of the calls
- name - The name of the archives - for example, LCLS_SPARSE
- path - Some internal configuration
- Returns:
- structs
-
-