1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 | package Torello.HTML.NodeSearch;
import java.util.*;
import Torello.HTML.*;
import Torello.HTML.NodeSearch.SearchLoops.L1Inclusive.TNPeekL1Incl;
import Torello.Java.LV;
/**
* Retrieves matches using exactly the same logic as both the class {@link TagNodeGetL1Inclusive}
* and {@link TagNodeFindL1Inclusive}, however this class returns both the sub-list end-points
* ({@link DotPair}) and the nodes themselves (<CODE>Vector<{@link HTMLNode}></CODE>) as an
* instance of {@link SubSection}.
*
* <EMBED CLASS='external-html' DATA-FILE-ID=TagNodePeekL1Inclusive>
*/
@Torello.JavaDoc.JDHeaderBackgroundImg
@Torello.JavaDoc.StaticFunctional
public class TagNodePeekL1Inclusive
{
private TagNodePeekL1Inclusive() { }
public static Vector<SubSection> all (Vector<? extends HTMLNode> html, String htmlTag)
{ return TNPeekL1Incl.all (html, new LV(html, 0, -1), ARGCHECK.htmlTag(htmlTag)); }
public static Vector<SubSection> all (Vector<? extends HTMLNode> html, int sPos, int ePos, String htmlTag)
{ return TNPeekL1Incl.all (html, new LV(html, sPos, ePos), ARGCHECK.htmlTag(htmlTag)); }
}
|