Class MCRXMLContent

java.lang.Object
org.mycore.common.content.MCRContent
org.mycore.common.content.MCRXMLContent
Direct Known Subclasses:
MCRDOMContent, MCRJAXBContent, MCRJDOMContent, MCRSAXContent

public abstract class MCRXMLContent extends MCRContent
Reads MCRContent from an XML document. Provides functionality to output XML using different formatters.
Author:
Frank Lützenkichen
  • Field Details

    • defaultFormat

      protected static Format defaultFormat
      The default format used when outputting XML as a byte stream. By default, content is outputted using MCRConstants.DEFAULT_ENCODING. If MCR.IFS2.PrettyXML=true, a pretty format with indentation is used.
    • format

      protected Format format
      The default format used when outputting this XML as a byte stream
  • Constructor Details

    • MCRXMLContent

      public MCRXMLContent()
  • Method Details