Class XMLOutputProperties

  • All Implemented Interfaces:
    FilterStreamProperties

    public class XMLOutputProperties
    extends XMLProperties
    Base properties for XML based serializers.
    Since:
    6.2M1
    Version:
    $Id: d9776c15a0a8dcf911c99901a55a4803c0023492 $
    • Constructor Detail

      • XMLOutputProperties

        public XMLOutputProperties()
    • Method Detail

      • isFormat

        public boolean isFormat()
        Returns:
        true if the output XML should be formated
      • setFormat

        public void setFormat​(boolean format)
        Parameters:
        format - Indicate if the output XML should be formated
      • getEncoding

        public String getEncoding()
        Returns:
        The encoding to use when serializing XML
      • setEncoding

        public void setEncoding​(String encoding)
        Parameters:
        encoding - The encoding to use when serializing XML
      • getTarget

        public OutputTarget getTarget()
        Returns:
        The target where to save the content
      • setTarget

        public void setTarget​(OutputTarget target)
        Parameters:
        target - The target where to save the content