Class PropertyMatcherCondition
java.lang.Object
com.norconex.commons.lang.xml.flow.impl.PropertyMatcherCondition
- All Implemented Interfaces:
XmlConfigurable,Predicate<Properties>
public class PropertyMatcherCondition
extends Object
implements Predicate<Properties>, XmlConfigurable
A simple XML condition matching
Properties keys and values.- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()voidloadFromXML(Xml xml) Load XML configuration values and initialized this object with them.voidSaves this object as XML.booleantest(Properties props) toString()
-
Constructor Details
-
PropertyMatcherCondition
public PropertyMatcherCondition()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<Properties>
-
loadFromXML
Description copied from interface:XmlConfigurableLoad XML configuration values and initialized this object with them.- Specified by:
loadFromXMLin interfaceXmlConfigurable- Parameters:
xml- the XML to load into this object
-
saveToXML
Description copied from interface:XmlConfigurableSaves this object as XML.- Specified by:
saveToXMLin interfaceXmlConfigurable- Parameters:
xml- the XML that will representing this object
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-