public class ElementUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASS_ATTR |
static String |
CLASS_DELIM |
static String |
ID_ATTR |
| Constructor and Description |
|---|
ElementUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<String> |
elementClasses(Element e) |
static String |
elementID(Element e) |
static String |
elementName(Element e) |
static boolean |
matchesAttribute(Element e,
String name,
String value,
Selector.Operator o) |
static boolean |
matchesClass(Element e,
String className) |
static boolean |
matchesClassOld(Element e,
String className) |
static boolean |
matchesID(Element e,
String id) |
static boolean |
matchesName(Element e,
String name) |
public static final String CLASS_DELIM
public static final String CLASS_ATTR
public static final String ID_ATTR
public static Collection<String> elementClasses(Element e)
public static boolean matchesAttribute(Element e, String name, String value, Selector.Operator o)
Copyright © 2014. All rights reserved.