Class RdfXmlAbbreviatedWriter
java.lang.Object
org.eclipse.lyo.oslc4j.provider.jena.RdfXmlAbbreviatedWriter
- All Implemented Interfaces:
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:
RDF_PROPERTY_SHOW_XML_DECLARATION
RDF_PROPERTY_INDENT
RDF_PROPERTY_TAB
- Since:
- 1.0
- Author:
- Patrick Streule, Paul Slauenwhite, Martin Aeschlimann, Sandeep Somavarapu
- See Also:
-
Field Summary
Fields inherited from interface org.apache.jena.rdf.model.RDFWriterI
NSPREFIXPROPBASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetErrorHandler
(RDFErrorHandler errorHandler) setProperty
(String propName, Object propValue) Sets a property on this writer.void
write
(Model model, OutputStream out, String base) void
-
Constructor Details
-
RdfXmlAbbreviatedWriter
public RdfXmlAbbreviatedWriter()
-
-
Method Details
-
setProperty
Sets a property on this writer.
Supported properties include:
RDF_PROPERTY_SHOW_XML_DECLARATION
RDF_PROPERTY_INDENT
RDF_PROPERTY_TAB
- 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:
-
setErrorHandler
- Specified by:
setErrorHandler
in interfaceRDFWriterI
-
write
- Specified by:
write
in interfaceRDFWriterI
-
write
- Specified by:
write
in interfaceRDFWriterI
-