| Package | Description |
|---|---|
| org.joox |
| Modifier and Type | Method and Description |
|---|---|
static FastFilter |
JOOX.all()
A filter that always returns true
|
static FastFilter |
JOOX.at(int... indexes)
A filter that returns true on elements at given iteration indexes
|
static FastFilter |
JOOX.attr(String name)
A filter that returns all elements with a given attribute
|
static FastFilter |
JOOX.attr(String name,
String... values)
A filter that returns all elements with a given attribute being set to a
given value
|
static FastFilter |
JOOX.even()
A filter that returns true on all even iteration indexes (starting with
0!)
|
static FastFilter |
JOOX.ids(String... ids)
Create a filter matching id attributes
|
static FastFilter |
JOOX.leaf()
A filter that returns true on leaf elements
|
static FastFilter |
JOOX.matchAttr(String name,
String valueRegex)
A filter that returns all elements whose text content matches a given
regex
|
static FastFilter |
JOOX.matchTag(String regex)
A filter that returns all elements whose tag name matches a given regex
This is the same as calling
matchTag(regex, true) |
static FastFilter |
JOOX.matchTag(String regex,
boolean ignoreNamespace)
A filter that returns all elements whose tag name matches a given regex
This method allows for specifying whether namespace prefixes should be
ignored.
|
static FastFilter |
JOOX.matchText(String regex)
A filter that returns all elements whose text content matches a given
regex
|
static FastFilter |
JOOX.namespacePrefix(String namespacePrefix)
A filter that returns all elements with a given namespace prefix
null and the empty string are treated equally to indicate
that no namespace prefix should be present. |
static FastFilter |
JOOX.namespaceURI(String namespaceURI)
A filter that returns all elements with a given namespace URI
null and the empty string are treated equally to indicate
that no namespace URI should be present. |
static FastFilter |
JOOX.none()
A filter that always returns false
|
static FastFilter |
JOOX.odd()
A filter that returns true on all odd iteration indexes (starting with
0!)
|
static FastFilter |
JOOX.tag(String tagName)
A filter that returns all elements with a given tag name
This is the same as calling
tag(tagName, true) |
static FastFilter |
JOOX.tag(String tagName,
boolean ignoreNamespace)
A filter that returns all elements with a given tag name
This method allows for specifying whether namespace prefixes should be
ignored.
|
Copyright © 2017. All Rights Reserved.