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_DECLARATIONRDF_PROPERTY_INDENTRDF_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.voidwrite(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_DECLARATIONRDF_PROPERTY_INDENTRDF_PROPERTY_TAB
- Specified by:
setPropertyin 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:
setErrorHandlerin interfaceRDFWriterI
-
write
- Specified by:
writein interfaceRDFWriterI
-
write
- Specified by:
writein interfaceRDFWriterI
-