Class RestXMLFragment


  • @StableMinor(version="14.1",
                 sinceVersion="6.1")
    public class RestXMLFragment
    extends Object
    Class that represents the XML fragment to be used in REST.

    Converters that support XML type in REST must be able to convert from and/or to this type.

    Since:
    6.1.0
    Version:
    $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
    • Constructor Detail

      • RestXMLFragment

        public RestXMLFragment​(String value)
        Creates a new REST XML fragment based on the given XML code.
        Parameters:
        value - the XML fragment code.
        Since:
        6.1.0
    • Method Detail

      • getValue

        public String getValue()
        Returns the code of this XML fragment.
        Returns:
        the code of this XML fragment.
        Since:
        6.1.0