public interface GroupStart
Defines the first step in the creation of a Group. A group is created when HtmlEntitySettings.newGroup() is called. Groups allow the definition of ‘parsing areas’, where fields created from the group will only return values matched from inside the group. HTML elements outside of the group will be ignored by the parser, even if the fields match elements in this outside area.
Group,
PartialGroup| Modifier and Type | Method and Description |
|---|---|
PartialGroup |
startAt(String elementName)
Specifies where on the HTML the group will start.
|
PartialGroup startAt(String elementName)
Specifies where on the HTML the group will start. Any element before the starting element will be ignored by the parser when parsing fields created from this group. Returns a PartialGroup which allows further specification of exactly what element on the page the group will start at. PartialGroup also provides methods to define what element the group will end at (method PartialGroup.endAt(String) and PartialGroup.endAtClosing(String)).
elementName - the name of the HTML element that the group will start atPartialGroup which is used to further specify the exact element where the group will start and where the group will end.Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.