Class RestXMLFragment


  • @StableMinor(version="17.0",
                 sinceVersion="6.1")
    public class RestXMLFragment
    extends java.lang.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: 26587 $ $Date: 2024-08-26 21:09:17 -0300 (Mon, 26 Aug 2024) $
    • Constructor Summary

      Constructors 
      Constructor Description
      RestXMLFragment​(java.lang.String value)
      Creates a new REST XML fragment based on the given XML code.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue()
      Returns the code of this XML fragment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestXMLFragment

        public RestXMLFragment​(java.lang.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 java.lang.String getValue()
        Returns the code of this XML fragment.
        Returns:
        the code of this XML fragment.
        Since:
        6.1.0