Class RDFXMLWriterOptions


  • public final class RDFXMLWriterOptions
    extends java.lang.Object

    Options for writing RDF/XML

    Since:
    1.0
    Version:
    1.0
    Author:
    Michael Grove
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Option<java.lang.Boolean> INCLUDE_ROOT_RDF_TAG
      Boolean setting for RDF/XML Writer to determine whether the rdf:RDF root tag is to be written.
      static Option<java.lang.Boolean> INCLUDE_XML_PI
      Boolean setting for XML Writer to determine whether the XML PI (Processing Instruction) should be printed.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INCLUDE_XML_PI

        public static final Option<java.lang.Boolean> INCLUDE_XML_PI
        Boolean setting for XML Writer to determine whether the XML PI (Processing Instruction) should be printed. If this setting is disabled the user must have previously printed the XML PI before calling RDFXMLWriter.start() for the document to be valid XML.

        Defaults to true.

        See Also:
        RDF/XML specification
      • INCLUDE_ROOT_RDF_TAG

        public static final Option<java.lang.Boolean> INCLUDE_ROOT_RDF_TAG
        Boolean setting for RDF/XML Writer to determine whether the rdf:RDF root tag is to be written. The tag is optional in the RDF/XML specification, but a standalone RDF/XML document typically includes it.

        Defaults to true.

        See Also:
        RDF/XML specification