org.eclipse.lyo.oslc4j.provider.jena
Class RdfXmlAbbreviatedWriter

java.lang.Object
  extended by org.eclipse.lyo.oslc4j.provider.jena.RdfXmlAbbreviatedWriter
All Implemented Interfaces:
com.hp.hpl.jena.rdf.model.RDFWriter

public class RdfXmlAbbreviatedWriter
extends Object
implements com.hp.hpl.jena.rdf.model.RDFWriter

RDF writer or serializer in the abbreviated XML (see #RDF_XML_ABBREVIATED) syntax.

Supported features include:

Since:
1.0
Version:
1.0
Author:
Patrick Streule, Paul Slauenwhite, Martin Aeschlimann, Sandeep Somavarapu
See Also:
RDFWriter

Field Summary
 
Fields inherited from interface com.hp.hpl.jena.rdf.model.RDFWriter
NSPREFIXPROPBASE
 
Constructor Summary
RdfXmlAbbreviatedWriter()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.RDFErrorHandler setErrorHandler(com.hp.hpl.jena.rdf.model.RDFErrorHandler errorHandler)
           
 Object setProperty(String propName, Object propValue)
          Sets a property on this writer.
 void write(com.hp.hpl.jena.rdf.model.Model model, OutputStream out, String base)
           
 void write(com.hp.hpl.jena.rdf.model.Model model, Writer writer, String base)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdfXmlAbbreviatedWriter

public RdfXmlAbbreviatedWriter()
Method Detail

setProperty

public Object setProperty(String propName,
                          Object propValue)

Sets a property on this writer.

Supported properties include:

Specified by:
setProperty in interface com.hp.hpl.jena.rdf.model.RDFWriter
Parameters:
propName - The (supported) property name.
propValue - The property value (String, Boolean, or Integer), otherwise null.
Returns:
The old property value, otherwise null.
See Also:
RDFWriter.setProperty(java.lang.String, java.lang.Object)

setErrorHandler

public com.hp.hpl.jena.rdf.model.RDFErrorHandler setErrorHandler(com.hp.hpl.jena.rdf.model.RDFErrorHandler errorHandler)
Specified by:
setErrorHandler in interface com.hp.hpl.jena.rdf.model.RDFWriter

write

public void write(com.hp.hpl.jena.rdf.model.Model model,
                  OutputStream out,
                  String base)
Specified by:
write in interface com.hp.hpl.jena.rdf.model.RDFWriter

write

public void write(com.hp.hpl.jena.rdf.model.Model model,
                  Writer writer,
                  String base)
Specified by:
write in interface com.hp.hpl.jena.rdf.model.RDFWriter


Copyright © 2013. All rights reserved.