Package org.eclipse.epsilon.egl.config
Class XMLConfigFileReader
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.eclipse.epsilon.egl.config.XMLConfigFileReader
-
- All Implemented Interfaces:
ConfigFileReader
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class XMLConfigFileReader extends DefaultHandler implements ConfigFileReader
-
-
Constructor Summary
Constructors Constructor Description XMLConfigFileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String uri, String localName, String qName)
void
error(SAXParseException e)
Map<String,CompositePartitioner>
read(InputStream stream)
void
startElement(String uri, String localName, String qName, Attributes attributes)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
read
public Map<String,CompositePartitioner> read(InputStream stream) throws PersistenceException
- Specified by:
read
in interfaceConfigFileReader
- Throws:
PersistenceException
-
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
-
error
public void error(SAXParseException e) throws SAXParseException
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
- Throws:
SAXParseException
-
-