Uses of Class
com.crawljax.core.configuration.CrawlElement
-
Packages that use CrawlElement Package Description com.crawljax.core com.crawljax.core.configuration -
-
Uses of CrawlElement in com.crawljax.core
Fields in com.crawljax.core with type parameters of type CrawlElement Modifier and Type Field Description private com.google.common.collect.ImmutableMultimap<String,CrawlElement>CandidateElementExtractor. excludeCrawlElementsprivate com.google.common.collect.ImmutableList<CrawlElement>CandidateElementExtractor. includedCrawlElementsMethods in com.crawljax.core that return types with arguments of type CrawlElement Modifier and Type Method Description private com.google.common.collect.ImmutableMultimap<String,CrawlElement>CandidateElementExtractor. asMultiMap(com.google.common.collect.ImmutableList<CrawlElement> elements)Methods in com.crawljax.core with parameters of type CrawlElement Modifier and Type Method Description private voidCandidateElementExtractor. addElement(Element element, com.google.common.collect.ImmutableList.Builder<Element> builder, CrawlElement crawlElement)private voidCandidateElementExtractor. evaluateElement(List<CandidateElement> results, String relatedFrame, CrawlElement crawl, Element sourceElement)private voidCandidateElementExtractor. evaluateElements(Document dom, CrawlElement crawl, List<CandidateElement> results, String relatedFrame)private com.google.common.collect.ImmutableList<Element>CandidateElementExtractor. getNodeListForTagElement(Document dom, CrawlElement crawlElement, EventableConditionChecker eventableConditionChecker)Returns a list of Elements form the DOM tree, matching the tag element.Method parameters in com.crawljax.core with type arguments of type CrawlElement Modifier and Type Method Description private com.google.common.collect.ImmutableMultimap<String,CrawlElement>CandidateElementExtractor. asMultiMap(com.google.common.collect.ImmutableList<CrawlElement> elements) -
Uses of CrawlElement in com.crawljax.core.configuration
Fields in com.crawljax.core.configuration declared as CrawlElement Modifier and Type Field Description private CrawlElementFormAction. crawlElementFields in com.crawljax.core.configuration with type parameters of type CrawlElement Modifier and Type Field Description private List<CrawlElement>CrawlActionsBuilder. crawlElementsprivate List<CrawlElement>CrawlActionsBuilder. crawlElementsExcludedprivate com.google.common.collect.ImmutableList<CrawlElement>PreCrawlConfiguration. excludedElementsprivate com.google.common.collect.ImmutableList<CrawlElement>PreCrawlConfiguration. includedElementsprivate com.google.common.collect.ImmutableList<CrawlElement>CrawlActionsBuilder. resultingElementsExcludedMethods in com.crawljax.core.configuration that return CrawlElement Modifier and Type Method Description CrawlElementFormAction. beforeClickElement(String tagName)CrawlElementFormAction. beforeEnterElement(String tagName)CrawlElementCrawlActionsBuilder. click(String tagName)Set of HTML elements Crawljax will click during crawling For example 1) >a.../< 2) <div/> click("a") will only include 1 if clickOnce is true (default).CrawlElementCrawlRules.CrawlRulesBuilder. click(String tagName)CrawlElementCrawlActionsBuilder. dontClick(String tagName)Set of HTML elements Crawljax will NOT click during crawling When an HTML is present in the click and dontClick sets, then the element will not be clicked.CrawlElementCrawlRules.CrawlRulesBuilder. dontClick(String tagName)CrawlElementCrawlActionsBuilder. enter(String tagName)CrawlElementCrawlRules.CrawlRulesBuilder. enter(String tagName)protected CrawlElementForm. getCrawlElement()protected CrawlElementFormAction. getCrawlElement()CrawlElementCrawlElement. underXPath(String xpathExpression)Restrict CrawlElement to include only HTML elements which are under HTML element X which identified by the xpath expression xpathExpression When xpathExpression returns no HTML elements this CrawlElement is not considered under element X.CrawlElementCrawlElement. when(Condition... conditions)Crawljax will crawl the HTML elements while crawling if and only if all the specified conditions are satisfied.CrawlElementCrawlElement. withAttribute(String attributeName, String value)Restrict CrawlElement to include only HTML elements with the specified attribute.CrawlElementCrawlElement. withText(String text)Restrict CrawlElement to include only HTML elements which have the specified text For example 1) <a>Foo</a> 2) <a>Bar</a> 3) <a>Example 3a</a> withText("Foo") will include element 1 withText("Example %") will include elements3 Text can support wild-card characters.Methods in com.crawljax.core.configuration that return types with arguments of type CrawlElement Modifier and Type Method Description private com.google.common.collect.ImmutableList<CrawlElement>CrawlActionsBuilder.ExcludeByParentBuilder. asExcludeList(List<CrawlElement> includes)(package private) org.apache.commons.lang3.tuple.Pair<com.google.common.collect.ImmutableList<CrawlElement>,com.google.common.collect.ImmutableList<CrawlElement>>CrawlActionsBuilder. build()(package private) org.apache.commons.lang3.tuple.Pair<com.google.common.collect.ImmutableList<CrawlElement>,com.google.common.collect.ImmutableList<CrawlElement>>CrawlActionsBuilder. build()com.google.common.collect.ImmutableList<CrawlElement>CrawlRules. getAllCrawlElements()private com.google.common.collect.ImmutableList<CrawlElement>CrawlActionsBuilder. getCrawlElements()com.google.common.collect.ImmutableList<CrawlElement>InputSpecification. getCrawlElements()private com.google.common.collect.ImmutableList<CrawlElement>CrawlActionsBuilder. getCrawlElementsExcluded()com.google.common.collect.ImmutableList<CrawlElement>PreCrawlConfiguration. getExcludedElements()com.google.common.collect.ImmutableList<CrawlElement>PreCrawlConfiguration. getIncludedElements()Method parameters in com.crawljax.core.configuration with type arguments of type CrawlElement Modifier and Type Method Description private com.google.common.collect.ImmutableList<CrawlElement>CrawlActionsBuilder.ExcludeByParentBuilder. asExcludeList(List<CrawlElement> includes)
-