public class MergepointSaxHandler extends Object
| Constructor and Description | 
|---|
| MergepointSaxHandler(ConfigurationProvider configurationProvider,
                    UnitDescriptor unitDescriptor,
                    ConfigurationHandlers configurationHandlers)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | endElement(String uri,
          String localName,
          String qName)Callback method which is called by the SAX parser if an XML element is
 ended. | 
| MergepointMapping | getMergepointMapping()Returns the mergepointMapping configured by this SaxHandler. | 
| boolean | isFinished()Returns whether the parser has finished parsing the mergepoint tag. | 
| void | startElement(String uri,
            String localName,
            String qName,
            Attributes attributes)Callback method which is called by the SAX parser if an XML element is
 started. | 
public MergepointSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)
configurationProvider - The access object for the configuration
        files, not null.unitDescriptor - The description of the generation unit, not null.configurationHandlers - the available configuration handlers,
        not null.NullPointerException - if an argument is null.public MergepointMapping getMergepointMapping()
IllegalStateException - if the mergepoint tag has not been
           processed completely.public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
uri - The namespace URI of the started element,
        or the empty string if the element has no namespace URI
        or if namespace processing is not being performed.localName - The local name (without prefix), or
        the empty string if Namespace processing is not being performed.qName - The qualified name (with prefix, if present),
        or the empty string if  qualified names are not available.attributes - The attributes attached to the element.SAXException - if an error occurs during parsing.ContentHandler.startElement(String, String, String, Attributes)public void endElement(String uri, String localName, String qName)
uri - The namespace URI of the ended element,
        or the empty string if the element has no namespace URI
        or if namespace processing is not being performed.localName - The local name (without prefix), or
        the empty string if Namespace processing is not being performed.qName - The qualified name (with prefix, if present),
        or the empty string if  qualified names are not available.ContentHandler.endElement(String, String, String)public boolean isFinished()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.