Uses of Interface org.htmlparser.NodeFilter

Uses in package org.htmlparser.nodes

Methods with parameter type org.htmlparser.NodeFilter

void
Collect this node and its child nodes (if-applicable) into the collectionList parameter, provided the node satisfies the filtering criteria.

Uses in package org.htmlparser.tags

Methods with parameter type org.htmlparser.NodeFilter

void
Collect this node and its child nodes (if-applicable) into the list parameter, provided the node satisfies the filtering criteria.

Uses in package org.htmlparser.filters

Classes implementing org.htmlparser.NodeFilter

class
Accepts nodes matching all of its predicate filters (AND operation).
class
A NodeFilter that accepts nodes based on whether they match a CSS2 selector.
class
This class accepts all tags that have a certain attribute, and optionally, with a certain value.
class
This class accepts all tags that have a child acceptable to the filter.
class
This class accepts all tags that have a parent acceptable to another filter.
class
This class accepts all tags that have a sibling acceptable to another filter.
class
This class accepts only one specific node.
class
This class accepts tags of class LinkTag that contain a link matching a given regex pattern.
class
This class accepts tags of class LinkTag that contain a link matching a given pattern string.
class
This class accepts all tags of a given class.
class
Accepts all nodes not acceptable to it's predicate filter.
class
Accepts nodes matching any of its predicates filters (OR operation).
class
This filter accepts all string nodes matching a regular expression.
class
This class accepts all string nodes containing the given string.
class
This class accepts all tags matching the tag name.
class
Accepts nodes matching an odd number of its predicates filters (XOR operation).

Constructors with parameter type org.htmlparser.NodeFilter

Creates an AndFilter that accepts nodes acceptable to both filters.
Creates an AndFilter that accepts nodes acceptable to all given filters.
Creates a new instance of HasChildFilter that accepts nodes with a direct child acceptable to the filter.
HasChildFilter.HasChildFilter(NodeFilter filter, boolean recursive)
Creates a new instance of HasChildFilter that accepts nodes with a child acceptable to the filter.
Creates a new instance of HasParentFilter that accepts nodes with the direct parent acceptable to the filter.
HasParentFilter.HasParentFilter(NodeFilter filter, boolean recursive)
Creates a new instance of HasParentFilter that accepts nodes with a parent acceptable to the filter.
Creates a new instance of HasSiblingFilter that accepts nodes with sibling acceptable to the filter.
Creates a NotFilter that accepts nodes not acceptable to the predicate.
Creates an OrFilter that accepts nodes acceptable to either filter.
Creates an OrFilter that accepts nodes acceptable to any of the given filters.
Creates an XorFilter that accepts nodes acceptable to either filter, but not both.
Creates an XorFilter that accepts nodes acceptable an odd number of the given filters.

Fields of type org.htmlparser.NodeFilter

NodeFilter
The filter to apply to children.
NodeFilter
The filter to apply to the parent.
NodeFilter
The filter to gainsay.
NodeFilter[]
The predicates that are to be and'ed together;
NodeFilter[]
The predicates that are to be or'ed together;
NodeFilter[]
The predicates that are to be xor'ed together;
NodeFilter
The filter to apply to the sibling.

Methods with parameter type org.htmlparser.NodeFilter

void
Set the filter for this HasParentFilter.
void
Set the filter for this HasParentFilter.
void
Set the predicate for this NotFilter.
void
Set the predicates for this AndFilter.
void
Set the predicates for this OrFilter.
void
Set the predicates for this XorFilter.
void
Set the filter for this HasSiblingFilter.

Methods with return type org.htmlparser.NodeFilter

NodeFilter
Get the filter used by this HasParentFilter.
NodeFilter
Get the filter used by this HasParentFilter.
NodeFilter
Get the predicate used by this NotFilter.
NodeFilter[]
Get the predicates used by this AndFilter.
NodeFilter[]
Get the predicates used by this OrFilter.
NodeFilter[]
Get the predicates used by this XorFilter.
NodeFilter
Get the filter used by this HasSiblingFilter.

Uses in package org.htmlparser.parserapplications.filterbuilder

Classes implementing org.htmlparser.NodeFilter

class
Base class for all filters.

Methods with parameter type org.htmlparser.NodeFilter

void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter's subordinate filters.
Filter
Filter.wrap(NodeFilter filter, Parser context)
Returns a wrapped filter.

Methods with return type org.htmlparser.NodeFilter

NodeFilter
Get the underlying node filter object.
NodeFilter[]
Get the underlying node filter's subordinate filters.

Uses in package org.htmlparser

Methods with parameter type org.htmlparser.NodeFilter

void
Collect this node and its child nodes into a list, provided the node satisfies the filtering criteria.
NodeList
Extract all nodes matching the given filter.
NodeList
Parse the given resource, using the filter provided.

Uses in package org.htmlparser.parserapplications

Fields of type org.htmlparser.NodeFilter

NodeFilter
The filter to apply to the nodes retrieved.

Methods with parameter type org.htmlparser.NodeFilter

void
Process a single page.
void
Setter for property filter.

Methods with return type org.htmlparser.NodeFilter

NodeFilter
Getter for property filter.

Uses in package org.htmlparser.beans

Fields of type org.htmlparser.NodeFilter

NodeFilter[]
The filter set.

Methods with parameter type org.htmlparser.NodeFilter

void
Set the filters for the bean.

Methods with return type org.htmlparser.NodeFilter

NodeFilter[]
Get the current filter set.

Uses in package org.htmlparser.util

Methods with parameter type org.htmlparser.NodeFilter

NodeList
Filter the list with the given filter non-recursively.
NodeList
NodeList.extractAllNodesThatMatch(NodeFilter filter, boolean recursive)
Filter the list with the given filter.
void
Remove nodes not matching the given filter non-recursively.
void
NodeList.keepAllNodesThatMatch(NodeFilter filter, boolean recursive)
Remove nodes not matching the given filter.
String[]
ParserUtils.splitTags(String input, NodeFilter filter)
Split the input string in a string array, considering the tags as delimiter for splitting.
String[]
ParserUtils.splitTags(String input, NodeFilter filter, boolean recursive, boolean insideTag)
Split the input string in a string array, considering the tags as delimiter for splitting.
String
ParserUtils.trimTags(String input, NodeFilter filter)
Trim all tags in the input string and return a string like the input one without the tags and their content.
String
ParserUtils.trimTags(String input, NodeFilter filter, boolean recursive, boolean insideTag)
Trim all tags in the input string and return a string like the input one without the tags and their content (optional).

Uses in package org.htmlparser.parserapplications.filterbuilder.wrappers

Classes implementing org.htmlparser.NodeFilter

class
Wrapper for AndFilters.
class
Wrapper for HasAttributeFilters.
class
Wrapper for HasChildFilters.
class
Wrapper for HasParentFilters.
class
Wrapper for HasSiblingFilters.
class
Wrapper for NodeClassFilters.
class
Wrapper for NotFilters.
class
Wrapper for OrFilters.
class
Wrapper for RegexFilters.
class
Wrapper for StringFilters.
class
Wrapper for TagNameFilters.

Methods with parameter type org.htmlparser.NodeFilter

void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter for this wrapper.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.
void
Assign the underlying node filter's subordinate filters.

Methods with return type org.htmlparser.NodeFilter

NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter
Get the underlying node filter object.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.
NodeFilter[]
Get the underlying node filter's subordinate filters.

HTML Parser is an open source library released under LGPL. SourceForge.net