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
,org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
public class XMLConfigFileReader extends org.xml.sax.helpers.DefaultHandler implements ConfigFileReader
-
-
Constructor Summary
Constructors Constructor Description XMLConfigFileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
void
error(org.xml.sax.SAXParseException e)
java.util.Map<java.lang.String,CompositePartitioner>
read(java.io.InputStream stream)
void
startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
-
-
-
Method Detail
-
read
public java.util.Map<java.lang.String,CompositePartitioner> read(java.io.InputStream stream) throws PersistenceException
- Specified by:
read
in interfaceConfigFileReader
- Throws:
PersistenceException
-
startElement
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
- Specified by:
startElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
startElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
endElement
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
- Specified by:
endElement
in interfaceorg.xml.sax.ContentHandler
- Overrides:
endElement
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXException
-
error
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXParseException
- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
- Overrides:
error
in classorg.xml.sax.helpers.DefaultHandler
- Throws:
org.xml.sax.SAXParseException
-
-