Class RDFXMLWriterOptions

java.lang.Object
com.stardog.stark.io.rdfxml.RDFXMLWriterOptions

public final class RDFXMLWriterOptions extends Object

Options for writing RDF/XML

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

    • INCLUDE_XML_PI

      public static final Option<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:
    • INCLUDE_ROOT_RDF_TAG

      public static final Option<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: