/** * Tests whether this condition matches the given element. */ public boolean match(Element e, String pseudoE) { String val = getValue(); if (val == null) { return !e.getAttribute(getLocalName()).equals(""); } return e.getAttribute(getLocalName()).equals(val); }
/** * Tests whether this condition matches the given element. */ public boolean match(Element e, String pseudoE) { String val = getValue(); if (val == null) { return !e.getAttribute(getLocalName()).equals(""); } return e.getAttribute(getLocalName()).equals(val); }
/** * Tests whether this condition matches the given element. */ public boolean match(Element e, String pseudoE) { String val = getValue(); if (val == null) { return !e.getAttribute(getLocalName()).equals(""); } return e.getAttribute(getLocalName()).equals(val); }
/** * Tests whether this condition matches the given element. */ public boolean match(Element e, String pseudoE) { String val = getValue(); if (val == null) { return !e.getAttribute(getLocalName()).equals(""); } return e.getAttribute(getLocalName()).equals(val); }