org.infinispan.commons.configuration.XMLStringConfiguration Maven / Gradle / Ivy
package org.infinispan.commons.configuration;
/**
* A simple wrapper for an XML configuration represented as a String.
*
* @author Tristan Tarrant
* @since 9.2
*/
public class XMLStringConfiguration implements BasicConfiguration {
private final String xml;
public XMLStringConfiguration(String xml) {
this.xml = xml;
}
@Override
public String toXMLString(String name) {
return xml;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy