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
-
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:RDFErrorHandler
report an error- Specified by:
error
in interfaceRDFErrorHandler
- Parameters:
e
- an exception representing the error
-
warning
Description copied from interface:RDFErrorHandler
report a warning- Specified by:
warning
in interfaceRDFErrorHandler
- Parameters:
e
- an exception representing the error
-
fatalError
Description copied from interface:RDFErrorHandler
report a catastrophic error. Must not return.- Specified by:
fatalError
in interfaceRDFErrorHandler
- Parameters:
e
- an exception representing the error
-