public abstract class Selectors extends Object
Constructor and Description |
---|
Selectors() |
Modifier and Type | Method and Description |
---|---|
static CssSelector |
$(String expr) |
static CssSelector |
$(String expr,
String attrName) |
static AndSelector |
and(Selector... selectors) |
static OrSelector |
or(Selector... selectors) |
static RegexSelector |
regex(String expr) |
static RegexSelector |
regex(String expr,
int group) |
static SmartContentSelector |
smartContent() |
static XpathSelector |
xpath(String expr) |
static XpathSelector |
xsoup(String expr)
Deprecated.
|
public static RegexSelector regex(String expr)
public static RegexSelector regex(String expr, int group)
public static SmartContentSelector smartContent()
public static CssSelector $(String expr)
public static CssSelector $(String expr, String attrName)
public static XpathSelector xpath(String expr)
@Deprecated public static XpathSelector xsoup(String expr)
expr
- exprxpath(String)
public static AndSelector and(Selector... selectors)
public static OrSelector or(Selector... selectors)
Copyright © 2017. All rights reserved.