Class XMLStringConfiguration

  • All Implemented Interfaces:
    BasicConfiguration

    public class XMLStringConfiguration
    extends java.lang.Object
    implements BasicConfiguration
    A simple wrapper for an XML configuration represented as a String.
    Since:
    9.2
    Author:
    Tristan Tarrant
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toXMLString​(java.lang.String name)
      Converts this configuration to its XML representation.
      • Methods inherited from class java.lang.Object

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

      • XMLStringConfiguration

        public XMLStringConfiguration​(java.lang.String xml)
    • Method Detail

      • toXMLString

        public java.lang.String toXMLString​(java.lang.String name)
        Description copied from interface: BasicConfiguration
        Converts this configuration to its XML representation. The name of the configuration in the XML will be the one supplied in the argument.
        Specified by:
        toXMLString in interface BasicConfiguration
        Returns:
        a String containing the XML representation of an Infinispan configuration using the Infinispan schema.