Class Abbreviated
- java.lang.Object
-
- org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter
-
- org.apache.jena.rdfxml.xmloutput.impl.Abbreviated
-
- All Implemented Interfaces:
RDFErrorHandler
,RDFWriterI
,RDFXMLWriterI
public class Abbreviated extends BaseXMLWriter implements RDFErrorHandler
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 theNSPREFIXPROPBASE
system properties. UsesetNsPrefix
. For best results it is necessary to set the property"prettyTypes"
. See setProperty for information.- See Also:
RDFWriterF.getWriter(String)
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.rdf.model.RDFWriterI
NSPREFIXPROPBASE
-
Fields inherited from interface org.apache.jena.rdfxml.xmloutput.RDFXMLWriterI
_NotInteresting
-
-
Constructor Summary
Constructors Constructor Description Abbreviated()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(java.lang.Exception e)
report an errorvoid
fatalError(java.lang.Exception e)
report a catastrophic error.void
warning(java.lang.Exception e)
report a warning-
Methods inherited from class org.apache.jena.rdfxml.xmloutput.impl.BaseXMLWriter
getPrefixFor, isPredefinedEntityName, setErrorHandler, setLogger, setNsPrefix, setProperty, str2flags, write, write
-
-
-
-
Method Detail
-
error
public void error(java.lang.Exception e)
Description copied from interface:RDFErrorHandler
report an error- Specified by:
error
in interfaceRDFErrorHandler
- Parameters:
e
- an exception representing the error
-
warning
public void warning(java.lang.Exception e)
Description copied from interface:RDFErrorHandler
report a warning- Specified by:
warning
in interfaceRDFErrorHandler
- Parameters:
e
- an exception representing the error
-
fatalError
public void fatalError(java.lang.Exception e)
Description copied from interface:RDFErrorHandler
report a catastrophic error. Must not return.- Specified by:
fatalError
in interfaceRDFErrorHandler
- Parameters:
e
- an exception representing the error
-
-