de.hedenus.rdf.serialize
Class RDFXMLParser
java.lang.Object
de.hedenus.rdf.serialize.RDFParser
de.hedenus.rdf.serialize.RDFXMLParser
- All Implemented Interfaces:
- XMLReaderEventListener
public class RDFXMLParser
- extends RDFParser
- implements XMLReaderEventListener
A RDF-XML parser.
- Author:
- Michael Hedenus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDFXMLParser
public RDFXMLParser()
parse
public void parse(RDFEventListener rdfEventListener,
java.io.InputStream in,
java.lang.String encoding,
java.lang.String documentBase)
throws java.io.IOException,
XMLException
- Specified by:
parse
in class RDFParser
- Throws:
java.io.IOException
XMLException
elementBegin
public void elementBegin(Element element,
XMLReader.Scope s)
throws XMLException
- Description copied from interface:
XMLReaderEventListener
- Method called when an tag start is encountered.
- Specified by:
elementBegin
in interface XMLReaderEventListener
- Throws:
XMLException
elementEnd
public void elementEnd(Element element,
XMLReader.Scope s)
throws XMLException
- Description copied from interface:
XMLReaderEventListener
- The method called when a tag end is encountered.
- Specified by:
elementEnd
in interface XMLReaderEventListener
- Throws:
XMLException
text
public void text(java.lang.String text,
XMLReader.Scope s)
throws XMLException
- Description copied from interface:
XMLReaderEventListener
- Method called when some plain text between two tags is encountered.
- Specified by:
text
in interface XMLReaderEventListener
- Throws:
XMLException