Package com.stardog.stark.io.rdfxml

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `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.
  `static final Option<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 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:
      - RDF/XML specification

  - ### 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:
      - RDF/XML specification