HasAttributeFilter(Stringattribute) Creates a new instance of HasAttributeFilter that accepts tags with the given attribute.
HasAttributeFilter(Stringattribute, Stringvalue) Creates a new instance of HasAttributeFilter that accepts tags with the given attribute and value.
LinkRegexFilter(StringregexPattern) Creates a LinkRegexFilter that accepts LinkTag nodes containing a URL that matches the supplied regex pattern.
LinkRegexFilter(StringregexPattern, boolean caseSensitive) Creates a LinkRegexFilter that accepts LinkTag nodes containing a URL that matches the supplied regex pattern.
LinkStringFilter(Stringpattern) Creates a LinkStringFilter that accepts LinkTag nodes containing a URL that matches the supplied pattern.
LinkStringFilter(Stringpattern, boolean caseSensitive) Creates a LinkStringFilter that accepts LinkTag nodes containing a URL that matches the supplied pattern.
4 层次关系
HasParentFilter() Creates a new instance of HasParentFilter.
HasParentFilter(NodeFilterfilter) Creates a new instance of HasParentFilter that accepts nodes with the direct parent acceptable to the filter.
HasParentFilter(NodeFilterfilter, boolean recursive) Creates a new instance of HasParentFilter that accepts nodes with a parent acceptable to the filter.
HasChildFilter() Creates a new instance of a HasChildFilter.
HasChildFilter(NodeFilterfilter) Creates a new instance of HasChildFilter that accepts nodes with a direct child acceptable to the filter.
HasChildFilter(NodeFilterfilter, boolean recursive) Creates a new instance of HasChildFilter that accepts nodes with a child acceptable to the filter.
转载于: http://blog.sina.com.cn/s/blog_4a2cf9700100hqj9.html1 . 逻辑关系:与或非 AndFilter() Creates a new instance of an AndFilter.AndFilter(NodeFilter[] predicates)