public class EventableConditionChecker extends Object
| Constructor and Description |
|---|
EventableConditionChecker(CrawlRules config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkXpathStartsWithXpathEventableCondition(Document dom,
EventableCondition eventableCondition,
String xpath)
Checks whether an XPath expression starts with an XPath eventable condition.
|
boolean |
checkXPathUnderXPaths(String xpath,
List<String> xpathsList) |
EventableCondition |
getEventableCondition(String id) |
@Inject public EventableConditionChecker(CrawlRules config)
public EventableCondition getEventableCondition(String id)
id - Identifier of the EventableCondition.nullpublic boolean checkXpathStartsWithXpathEventableCondition(Document dom, EventableCondition eventableCondition, String xpath) throws XPathExpressionException
dom - The DOM String.eventableCondition - The eventable condition.xpath - The XPath.XPathExpressionExceptionCrawljaxException - when not can be determined whether xpath contains needed xpath locatonCopyright © 2007-2013. All Rights Reserved.