Class NamesHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.epics.archiverappliance.mgmt.bpl.cahdlers.NamesHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class NamesHandler extends DefaultHandler
SAX2 for handling archiver.names- Author:
- mshankar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NamesHandler.ChannelDescription
-
Constructor Summary
Constructors Constructor Description NamesHandler()
-
Method Summary
Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String localName, String qName)
LinkedList<NamesHandler.ChannelDescription>
getChannels()
This contains the PVS in this archive.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
-
getChannels
public LinkedList<NamesHandler.ChannelDescription> getChannels()
This contains the PVS in this archive.- Returns:
- channels
-
-