Package org.eclipse.rdf4j.rio.trix
Class TriXParser.TriXSAXHandler
java.lang.Object
org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
org.eclipse.rdf4j.rio.trix.TriXParser.TriXSAXHandler
- All Implemented Interfaces:
SimpleSAXListener
- Enclosing class:
TriXParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.rdf4j.common.xml.SimpleSAXAdapter
endDocument, startDocument
-
Field Details
-
currentContext
-
parsingContext
private boolean parsingContext -
valueList
-
-
Constructor Details
-
TriXSAXHandler
public TriXSAXHandler()
-
-
Method Details
-
startTag
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 interfaceSimpleSAXListener
- Overrides:
startTag
in classSimpleSAXAdapter
- 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:SimpleSAXListener
Reports an end tag to the listener.- Specified by:
endTag
in interfaceSimpleSAXListener
- Overrides:
endTag
in classSimpleSAXAdapter
- Parameters:
tagName
- The tag name.- Throws:
SAXException
-
reportStatement
- Throws:
RDFParseException
RDFHandlerException
-