Package com.norconex.commons.lang.xml
Interface IXMLConfigurable
- All Known Subinterfaces:
IXMLConfigurable,IXMLFlowConsumerAdapter<T>,IXMLFlowPredicateAdapter<T>
- All Known Implementing Classes:
Credentials,PropertyMatcherCondition,ProxySettings,Regex,RegexFieldValueExtractor,TextMatcher
public interface IXMLConfigurable
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).
- Since:
- 2.0.0 (Moved and modified from *.lang.config.IXMLConfigurable)
- Author:
- Pascal Essiembre
-
Method Summary
Modifier and TypeMethodDescriptionvoidloadFromXML(XML xml) Load XML configuration values and initialized this object with them.voidSaves this object as XML.
-
Method Details
-
loadFromXML
Load XML configuration values and initialized this object with them.- Parameters:
xml- the XML to load into this object
-
saveToXML
Saves this object as XML.- Parameters:
xml- the XML that will representing this object
-