org.dspace.adapters.rdf
Class RDFContentHandlerImpl
java.lang.Object
org.dspace.adapters.rdf.RDFContentHandlerImpl
- All Implemented Interfaces:
- org.openrdf.rio.RDFHandler
public class RDFContentHandlerImpl
- extends Object
- implements org.openrdf.rio.RDFHandler
- Author:
- mdiggory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handler
protected ContentHandler handler
lexer
protected LexicalHandler lexer
CDATA
public static final String CDATA
- See Also:
- Constant Field Values
ID
public static final String ID
- See Also:
- Constant Field Values
IDREF
public static final String IDREF
- See Also:
- Constant Field Values
IDREFS
public static final String IDREFS
- See Also:
- Constant Field Values
NMTOKEN
public static final String NMTOKEN
- See Also:
- Constant Field Values
NMTOKENS
public static final String NMTOKENS
- See Also:
- Constant Field Values
ENTITY
public static final String ENTITY
- See Also:
- Constant Field Values
ENTITIES
public static final String ENTITIES
- See Also:
- Constant Field Values
NOTATION
public static final String NOTATION
- See Also:
- Constant Field Values
namespaces
protected NamespaceSupport namespaces
writingStarted
protected boolean writingStarted
headerWritten
protected boolean headerWritten
lastWrittenStatement
protected org.openrdf.model.Statement lastWrittenStatement
RDFContentHandlerImpl
public RDFContentHandlerImpl(ContentHandler handler)
- Creates a new RDFXMLWriter that will write to the supplied Writer.
getRDFFormat
public org.openrdf.rio.RDFFormat getRDFFormat()
startRDF
public void startRDF()
- Specified by:
startRDF in interface org.openrdf.rio.RDFHandler
writeHeader
protected void writeHeader()
throws SAXException
- Throws:
SAXException
endRDF
public void endRDF()
throws org.openrdf.rio.RDFHandlerException
- Specified by:
endRDF in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
handleNamespace
public void handleNamespace(String prefix,
String namespace)
- Specified by:
handleNamespace in interface org.openrdf.rio.RDFHandler
handleStatement
public void handleStatement(org.openrdf.model.Statement st)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleStatement in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
handleComment
public void handleComment(String arg0)
throws org.openrdf.rio.RDFHandlerException
- Specified by:
handleComment in interface org.openrdf.rio.RDFHandler
- Throws:
org.openrdf.rio.RDFHandlerException
Copyright © 2008 The DSpace Foundation. All Rights Reserved.