Package org.eclipse.rdf4j.common.xml
Class SimpleSAXAdapter
java.lang.Object
org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
- All Implemented Interfaces:
SimpleSAXListener
An implementation of SimpleSAXListener providing dummy implementations for all its methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNotifies the listener that the parser has finished parsing.voidReports an end tag to the listener.voidNotifies the listener that the parser has started parsing.voidReports a start tag to the listener.
-
Constructor Details
-
SimpleSAXAdapter
public SimpleSAXAdapter()
-
-
Method Details
-
startDocument
Description copied from interface:SimpleSAXListenerNotifies the listener that the parser has started parsing.- Specified by:
startDocumentin interfaceSimpleSAXListener- Throws:
SAXException
-
endDocument
Description copied from interface:SimpleSAXListenerNotifies the listener that the parser has finished parsing.- Specified by:
endDocumentin interfaceSimpleSAXListener- Throws:
SAXException
-
startTag
Description copied from interface:SimpleSAXListenerReports 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:
startTagin interfaceSimpleSAXListener- 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:
SAXException
-
endTag
Description copied from interface:SimpleSAXListenerReports an end tag to the listener.- Specified by:
endTagin interfaceSimpleSAXListener- Parameters:
tagName- The tag name.- Throws:
SAXException
-