public final class RdfXmlParser extends Pipe<TripleSink> implements XmlSink
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR
Class URI for errors produced by a parser
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buffer,
int offset,
int length) |
void |
comment(char[] buffer,
int offset,
int length) |
static XmlSink |
connect(TripleSink sink)
Creates instance of RdfXmlParser connected to specified sink.
|
void |
endCDATA() |
void |
endDocument() |
void |
endDTD() |
void |
endElement(String namespaceUri,
String lname,
String qname) |
void |
endEntity(String arg0) |
void |
endPrefixMapping(String arg0) |
void |
ignorableWhitespace(char[] buffer,
int offset,
int length) |
ParseException |
processException(SAXException e) |
void |
processingInstruction(String target,
String data) |
void |
setBaseUri(String baseUri) |
void |
setDocumentLocator(Locator arg0) |
protected boolean |
setPropertyInternal(String key,
Object value) |
void |
skippedEntity(String arg0) |
void |
startCDATA() |
void |
startDocument() |
void |
startDTD(String arg0,
String arg1,
String arg2) |
void |
startElement(String nsUri,
String lname,
String qname,
Attributes attrs) |
void |
startEntity(String arg0) |
void |
startPrefixMapping(String abbr,
String uri) |
endStream, setProperty, startStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendStream, setProperty, startStreampublic static final String ERROR
public static XmlSink connect(TripleSink sink)
sink - sink to be connected topublic void startElement(String nsUri, String lname, String qname, Attributes attrs) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String namespaceUri, String lname, String qname) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void characters(char[] buffer,
int offset,
int length)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] buffer,
int offset,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void comment(char[] buffer,
int offset,
int length)
throws SAXException
comment in interface LexicalHandlerSAXExceptionpublic void startPrefixMapping(String abbr, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void setBaseUri(String baseUri)
setBaseUri in interface DataSinkpublic void setDocumentLocator(Locator arg0)
setDocumentLocator in interface ContentHandlerpublic void skippedEntity(String arg0) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String arg0) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic void endEntity(String arg0) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionpublic void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic void startDTD(String arg0, String arg1, String arg2) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic void startEntity(String arg0) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionpublic ParseException processException(SAXException e)
processException in interface XmlSinkprotected boolean setPropertyInternal(String key, Object value)
setPropertyInternal in class Pipe<TripleSink>Copyright © 2012–2016. All rights reserved.