org.htmlparser.filters
Class CssSelectorNodeFilter
- Cloneable, NodeFilter, Serializable
public class CssSelectorNodeFilter
boolean | accept(Node node) - Accept nodes that match the selector expression.
|
static String | unescape(String escaped) - Replace escape sequences in a string.
|
CssSelectorNodeFilter
public CssSelectorNodeFilter(String selector)
Create a Cascading Style Sheet node filter.
selector
- The selector expression.
accept
public boolean accept(Node node)
Accept nodes that match the selector expression.
- accept in interface NodeFilter
node
- The node to check.
true
if the node matches,
false
otherwise.
unescape
public static String unescape(String escaped)
Replace escape sequences in a string.
escaped
- The string to examine.
- The argument with escape sequences replaced by their
equivalent character.
| © 2005 Derrick Oswald Mai 08, 2008 |
HTML Parser is an open source library released under LGPL. |  |