Class RdfXmlAbbreviatedWriter
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.provider.jena.RdfXmlAbbreviatedWriter
-
- All Implemented Interfaces:
RDFWriterI
public class RdfXmlAbbreviatedWriter extends Object implements RDFWriterI
RDF writer or serializer in the abbreviated XML syntax.
Supported features include:
- Reification serialization compliant with the OSLC Quality Management V 2.0 Specification (Labels for Relationships) guidance.
- Properties:
- Since:
- 1.0
- Author:
- Patrick Streule, Paul Slauenwhite, Martin Aeschlimann, Sandeep Somavarapu
- See Also:
RDFWriterI
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.rdf.model.RDFWriterI
NSPREFIXPROPBASE
-
-
Constructor Summary
Constructors Constructor Description RdfXmlAbbreviatedWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDFErrorHandler
setErrorHandler(RDFErrorHandler errorHandler)
Object
setProperty(String propName, Object propValue)
Sets a property on this writer.void
write(Model model, OutputStream out, String base)
void
write(Model model, Writer writer, String base)
-
-
-
Method Detail
-
setProperty
public Object setProperty(String propName, Object propValue)
Sets a property on this writer.
Supported properties include:
- Specified by:
setProperty
in interfaceRDFWriterI
- Parameters:
propName
- The (supported) property name.propValue
- The property value (String
,Boolean
, orInteger
), otherwisenull
.- Returns:
- The old property value, otherwise
null
. - See Also:
RDFWriterI.setProperty(java.lang.String, java.lang.Object)
-
setErrorHandler
public RDFErrorHandler setErrorHandler(RDFErrorHandler errorHandler)
- Specified by:
setErrorHandler
in interfaceRDFWriterI
-
write
public void write(Model model, OutputStream out, String base)
- Specified by:
write
in interfaceRDFWriterI
-
write
public void write(Model model, Writer writer, String base)
- Specified by:
write
in interfaceRDFWriterI
-
-