Class XMLStringConfiguration
- java.lang.Object
-
- org.infinispan.commons.configuration.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
-
-
Constructor Summary
Constructors Constructor Description XMLStringConfiguration(java.lang.String xml)
-
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
-
Methods inherited from interface org.infinispan.commons.configuration.BasicConfiguration
toXMLString
-
-
-
-
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 interfaceBasicConfiguration
- Returns:
- a String containing the XML representation of an Infinispan configuration using the Infinispan schema.
-
-