Class CompositionHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- de.uni_trier.wi2.procake.utils.composition.XMLConfiguration.CompositionHandler
-
- All Implemented Interfaces:
CompositionDescription,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class CompositionHandler extends DefaultHandler implements CompositionDescription
- Author:
- rmaximi, Christian Zeyen
-
-
Field Summary
-
Fields inherited from interface de.uni_trier.wi2.procake.utils.composition.XMLConfiguration.CompositionDescription
ATT_CLASS, ATT_NAME, ATT_VALUE, DTD, E_COMPOSITION, E_FACTORY, E_FACTORY_PARAMETER, E_IMPLEMENTATION, E_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description CompositionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLConfigurationgetConfiguration()voidstartDocument()voidstartElement(String uri, String localName, String qName, Attributes attributes)-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getConfiguration
public XMLConfiguration getConfiguration()
- Returns:
- the XMLConfiguration
-
startDocument
public void startDocument() throws SAXException- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
-