Package com.norconex.commons.lang.config
Interface IXMLConfigurable
- All Superinterfaces:
IXMLConfigurable
Deprecated.
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
Modifier and TypeMethodDescriptiondefault voidloadFromXML(XML xml) Deprecated.Load XML configuration values and initialized this object with them.default voidloadFromXML(Reader reader) Deprecated.default voidDeprecated.Saves this object as XML.default voidDeprecated.
-
Method Details
-
loadFromXML
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
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.Saves this object as XML.- Parameters:
writer- XML writer- Throws:
IOException- something went wrong writing the XML
-
saveToXML
Deprecated.Saves this object as XML.- Specified by:
saveToXMLin interfaceIXMLConfigurable- Parameters:
xml- the XML that will representing this object
-
IXMLConfigurable.