Package com.norconex.commons.lang.config
Interface IXMLConfigurable
-
- All Superinterfaces:
IXMLConfigurable
@Deprecated public interface IXMLConfigurable extends IXMLConfigurable
Deprecated.Since 2.0.0, useIXMLConfigurable.Provides indications that a class is configurable via XML. Classes implementing this should be careful to document XML configuration options properly (e.g. in Javadoc).- Author:
- Pascal Essiembre
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidloadFromXML(XML xml)Deprecated.Load XML configuration values and initialized this object with them.default voidloadFromXML(Reader reader)Deprecated.default voidsaveToXML(XML xml)Deprecated.Saves this object as XML.default voidsaveToXML(Writer writer)Deprecated.
-
-
-
Method Detail
-
loadFromXML
@Deprecated default void loadFromXML(Reader reader) throws IOException
Deprecated.Load XML configuration values and initialized this object with them.- Parameters:
reader- XML input stream- Throws:
IOException- something went wrong reading the XML
-
loadFromXML
default void loadFromXML(XML xml)
Deprecated.Load XML configuration values and initialized this object with them.- Specified by:
loadFromXMLin interfaceIXMLConfigurable- Parameters:
xml- the XML to load into this object
-
saveToXML
@Deprecated default void saveToXML(Writer writer) throws IOException
Deprecated.Saves this object as XML.- Parameters:
writer- XML writer- Throws:
IOException- something went wrong writing the XML
-
saveToXML
default void saveToXML(XML xml)
Deprecated.Saves this object as XML.- Specified by:
saveToXMLin interfaceIXMLConfigurable- Parameters:
xml- the XML that will representing this object
-
-