| Package | Description |
|---|---|
| com.univocity.api.entity.html.builders |
| Modifier and Type | Method and Description |
|---|---|
T |
BasicElementFilter.attribute(String attributeName)
Establishes that the matched HTML element should contain the given boolean attribute.
|
T |
BasicElementFilter.attribute(String attributeName,
String attributeValue)
Establishes that the matched HTML element should contain the given attribute name and value.
|
T |
BasicElementFilter.childOf(String elementName)
Establishes that the matched HTML element should be a child of a given element.
|
T |
BasicElementFilter.classes(String firstCssClass,
String... otherCssClasses)
Establishes that the matched HTML element should contain the given CSS class names.
|
T |
BasicElementFilter.containedBy(String elementName)
Establishes that the matched HTML element should be in the hierarchy of a given element.
|
T |
BasicElementFilter.containedBy(String elementName,
int depthLimit)
Establishes that the matched HTML element should be in the hierarchy of a given element, up to a given limit of parent nodes to visit.
|
T |
BasicElementFilter.containing(String elementName)
Establishes that the matched HTML element should contain a given element in its hierarchy.
|
T |
BasicElementFilter.containing(String elementName,
int depthLimit)
Establishes that the matched HTML element should contain a given element in its hierarchy, provided it occurs within a given search depth.
|
T |
BasicElementFilter.containing(String firstElementName,
String... additionalElementNames)
Establishes that the matched HTML element should contain of one or more given elements in its hierarchy.
|
void |
FieldContentTransform.download()
Specifies that the parser will download content from the URL in the HTML element defined by the path.
|
void |
FieldContentTransform.download(com.univocity.api.net.UrlReaderProvider baseUrlProvider)
Specifies that the parser will download content from the URL in the HTML element defined by the path.
|
T |
BasicElementFilter.followedBy(String elementName)
Establishes that the matched HTML element should have a given element placed after it, at any distance.
|
T |
BasicElementFilter.followedBy(String elementName,
int distance)
Establishes that the matched HTML element should have a given element at a given distance after it.
|
T |
BasicElementFilter.followedByText(String text)
Establishes that the matched HTML element must have a given text placed in an element before it.
|
T |
BasicElementFilter.followedImmediatelyBy(String elementName)
Establishes that the matched HTML element should have a given element placed directly after it.
|
T |
ContentReader.getAttribute(String attributeName)
Captures the value of an attribute of the HTML elements matched by the path.
|
T |
ContentReader.getFollowingText()
Gets the text from the HTML element that is placed directly after the HTML elements matched by the path.
|
T |
ContentReader.getFollowingText(int numberOfSiblingsToInclude)
Gets the text from the specified number of HTMl elements following the HTML element matched by the path.
|
T |
ContentReader.getHeadingText()
Used to get the text of a table header above a matched element.
|
T |
ContentReader.getHeadingText(int headingRowIndex)
Captures the text in the same column of the matched element, but in another row of the same table.
|
T |
ContentReader.getOwnText()
Specifies that the parser will return the text from HTML element specified by the path without including the text of its child nodes.
|
T |
ContentReader.getPrecedingText()
Specifies that the parser will return the text from the node that appears before the HTML element specified by the path.
|
T |
ContentReader.getPrecedingText(int numberOfSiblingsToInclude)
Collects the text from the specified number of HTML elements placed before the element that is matched by the path.
|
T |
ContentReader.getText()
Specifies that the parser will return the text contained within the HTML element defined by the path.
|
T |
ContentReader.getText(int numberOfSiblingsToInclude)
Specifies that the parser will return the text contained within the HTML elements matched by the path in addition to the text in the specified amount of following siblings.
|
T |
ContentReader.getTextAbove()
Captures the text contained in the row and column above the HTML element matched by the path.
|
T |
ContentReader.getTextAbove(int numberOfRowsAbove)
Specifies that the parser will return the text contained in the HTML element at a given distance above a matched element.
|
T |
ContentReader.getTextAbove(String firstAlternative,
String... otherAlternatives)
Specifies that the parser will return the content of a row, given it contains some expected text, above a matched element.
|
T |
BasicElementFilter.id(String idValue)
Establishes that the matched HTML element should contain an id attribute with a given value.
|
T |
BasicElementFilter.parentOf(String elementName)
Establishes that the matched HTML element should be the parent of a given element.
|
T |
BasicElementFilter.precededBy(String elementName)
Establishes that the matched HTML element should have a given element placed before it, at any distance.
|
T |
BasicElementFilter.precededBy(String elementName,
int distance)
Establishes that the matched HTML element should have a given element at a given distance before it.
|
T |
BasicElementFilter.precededByText(String text)
Establishes that the matched HTML element must have a given text placed in an element after it.
|
T |
BasicElementFilter.precededImmediatelyBy(String elementName)
Establishes that the matched HTML element should have a given element placed directly before it.
|
T |
BasicElementFilter.under(String elementName)
Establishes that the matched HTML element should be directly under a given element of a table, at the same column, and where the given element:
|
T |
BasicElementFilter.underHeader(String headerElementName)
Establishes that the matched HTML element should be under a given element of a table, at the same column, and where the given element:
|
T |
BasicElementFilter.withExactText(String textContent,
String... alternativeTextContents)
Establishes that the matched HTML element should contain exactly a given text.
|
T |
BasicElementFilter.withExactTextMatchCase(String textContent,
String... alternativeTextContents)
Case sensitive version of
BasicElementFilter.withExactText(String, String...). |
T |
BasicElementFilter.withText(String textContent,
String... alternativeTextContents)
Establishes that the matched HTML element should start with a given text.
|
T |
BasicElementFilter.withTextMatchCase(String textContent,
String... alternativeTextContents)
Like
BasicElementFilter.withText(String, String...) but case sensitive. |
Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.