com.netflix.infix
Class XPathValuePredicate

java.lang.Object
  extended by com.netflix.infix.XPathValuePredicate
All Implemented Interfaces:
com.google.common.base.Predicate<java.lang.String>, ValuePredicate<java.lang.String>

public class XPathValuePredicate
extends java.lang.Object
implements ValuePredicate<java.lang.String>


Constructor Summary
XPathValuePredicate(java.lang.String valueXpath, java.lang.String inputXpath)
           
 
Method Summary
 boolean apply(java.lang.String input)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getInputXpath()
           
 java.lang.String getValueXpath()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathValuePredicate

public XPathValuePredicate(java.lang.String valueXpath,
                           java.lang.String inputXpath)
Method Detail

apply

public boolean apply(@Nullable
                     java.lang.String input)
Specified by:
apply in interface com.google.common.base.Predicate<java.lang.String>

getInputXpath

public java.lang.String getInputXpath()

getValueXpath

public java.lang.String getValueXpath()

hashCode

public int hashCode()
Specified by:
hashCode in interface ValuePredicate<java.lang.String>
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface com.google.common.base.Predicate<java.lang.String>
Specified by:
equals in interface ValuePredicate<java.lang.String>
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object