Class SPARQLResultsSAXParser

    • Field Detail

      • logger

        private final org.slf4j.Logger logger
      • bindingNames

        private java.util.List<java.lang.String> bindingNames
        The variable names that are specified in the header.
      • currentBindingName

        private java.lang.String currentBindingName
        The most recently parsed binding name.
      • currentValue

        private Value currentValue
        The most recently parsed value.
      • currentSolution

        private MapBindingSet currentSolution
        The bound variables for the current result.
    • Method Detail

      • startTag

        public void startTag​(java.lang.String tagName,
                             java.util.Map<java.lang.String,​java.lang.String> atts,
                             java.lang.String text)
                      throws org.xml.sax.SAXException
        Description copied from interface: SimpleSAXListener
        Reports a start tag to the listener. The method call reports the tag's name, the attributes that were found in the start tag and any text that was found after the start tag.
        Specified by:
        startTag in interface SimpleSAXListener
        Overrides:
        startTag in class SimpleSAXAdapter
        Parameters:
        tagName - The tag name.
        atts - A map containing key-value-pairs representing the attributes that were found in the start tag.
        text - The text immediately following the start tag, or an empty string if the start tag was followed by a nested start tag or if no text (other than whitespace) was found between start- and end tag.
        Throws:
        org.xml.sax.SAXException
      • endTag

        public void endTag​(java.lang.String tagName)
                    throws org.xml.sax.SAXException
        Description copied from interface: SimpleSAXListener
        Reports an end tag to the listener.
        Specified by:
        endTag in interface SimpleSAXListener
        Overrides:
        endTag in class SimpleSAXAdapter
        Parameters:
        tagName - The tag name.
        Throws:
        org.xml.sax.SAXException