Package com.norconex.commons.lang.xml
Interface XmlConfigurable
- All Known Subinterfaces:
IXMLConfigurable,IXMLFlowConsumerAdapter<T>,IXMLFlowPredicateAdapter<T>,XmlFlowConsumerAdapter<T>,XmlFlowPredicateAdapter<T>
- All Known Implementing Classes:
PropertyMatcherCondition
public interface XmlConfigurable
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:
- 3.0.0 (renamed from IXMLConfigurable)
-
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
-