Class XMLStringConfiguration
- java.lang.Object
-
- org.infinispan.commons.configuration.XMLStringConfiguration
-
- All Implemented Interfaces:
BasicConfiguration
public class XMLStringConfiguration extends 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(String xml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toXMLString(String name)
Converts this configuration to its XML representation.-
Methods inherited from interface org.infinispan.commons.configuration.BasicConfiguration
toXMLString
-
-
-
-
Constructor Detail
-
XMLStringConfiguration
public XMLStringConfiguration(String xml)
-
-
Method Detail
-
toXMLString
public String toXMLString(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.
-
-