java.lang.Object
org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter
org.apache.jena.rdfxml.xmloutput.impl.RDFXML_Abbrev
- All Implemented Interfaces:
RDFErrorHandler,RDFWriterI,RDFXMLWriterI
Writes out RDF in the abbreviated syntax, for human consumption
not only machine readable.
It is not normal to call the constructor directly, but to use
the method RDFWriterF.getWriter("RDF/XML-ABBREV").
Does not support the
NSPREFIXPROPBASE system properties.
Use setNsPrefix.
For best results it is necessary to set the property
"prettyTypes". See setProperty for information.- See Also:
-
Field Summary
Fields inherited from interface org.apache.jena.rdf.model.RDFWriterI
NSPREFIXPROPBASE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter
getPrefixFor, isPredefinedEntityName, setErrorHandler, setLogger, setNsPrefix, setProperty, str2flags, write, write
-
Constructor Details
-
RDFXML_Abbrev
public RDFXML_Abbrev()
-
-
Method Details
-
error
Description copied from interface:RDFErrorHandlerreport an error- Specified by:
errorin interfaceRDFErrorHandler- Parameters:
e- an exception representing the error
-
warning
Description copied from interface:RDFErrorHandlerreport a warning- Specified by:
warningin interfaceRDFErrorHandler- Parameters:
e- an exception representing the error
-
fatalError
Description copied from interface:RDFErrorHandlerreport a catastrophic error. Must not return.- Specified by:
fatalErrorin interfaceRDFErrorHandler- Parameters:
e- an exception representing the error
-