Uses of Interface org.htmlparser.Node

Uses in package org.htmlparser.nodes

Classes implementing org.htmlparser.Node

class
The concrete base class for all types of nodes (tags, text remarks).
class
The remark tag is identified and represented by this class.
class
TagNode represents a generic tag.
class
Normal text in the HTML document is represented by this class.

Fields of type org.htmlparser.Node

Node
The parent of this node.

Methods with parameter type org.htmlparser.Node

void
Sets the parent of this node.

Methods with return type org.htmlparser.Node

Node
Get the first child of this node.
Node
Get the last child of this node.
Node
Get the next sibling to this node.
Node
Get the parent of this node.
Node
Get the previous sibling to this node.

Uses in package org.htmlparser.tags

Classes implementing org.htmlparser.Node

class
AppletTag represents an <Applet> tag.
class
BaseHrefTag represents an <Base> tag.
class
A Body Tag.
class
A bullet tag.
class
A bullet list tag.
class
The base class for tags that have an end tag.
class
A definition list tag (dl).
class
A definition list bullet tag (either DD or DT).
class
A div tag.
class
The HTML Document Declaration Tag can identify <!DOCTYPE> tags.
class
Represents a FORM tag.
class
Identifies an frame set tag.
class
Identifies a frame tag
class
A heading (h1 - h6) tag.
class
A head tag.
class
A html tag.
class
Identifies an image tag.
class
An input tag in a form.
class
The JSP/ASP tags like <%...%> can be identified by this class.
class
A label tag.
class
Identifies a link tag.
class
A Meta Tag
class
ObjectTag represents an <Object> tag.
class
An option tag within a form.
class
A paragraph (p) tag.
class
The XML processing instructions like <?xml ...
class
A script tag.
class
A select tag within a form.
class
A span tag.
class
A StyleTag represents a <style> tag.
class
A table column tag.
class
A table header tag.
class
A table row tag.
class
A table tag.
class
A text area tag within a form.
class
A title tag.

Methods with parameter type org.htmlparser.Node

int
Returns the node number of a child node given the node object.

Methods with return type org.htmlparser.Node

Node
CompositeTag.childAt(int index)
Get child at given index
Node
Get the child of this node at the given position.
Node[]
Get the children as an array of Node objects.

Uses in package org.htmlparser.filters

Constructors with parameter type org.htmlparser.Node

Creates a new IsEqualFilter that accepts only the node provided.

Fields of type org.htmlparser.Node

Node
The node to match.

Methods with parameter type org.htmlparser.Node

boolean
Accept nodes that are acceptable to all of its predicate filters.
boolean
Accept nodes that match the selector expression.
boolean
Accept tags with a certain attribute.
boolean
Accept tags with children acceptable to the filter.
boolean
Accept tags with parent acceptable to the filter.
boolean
Accept tags with a sibling acceptable to the filter.
boolean
Accept the node.
boolean
Accept nodes that are a LinkTag and have a URL that matches the regex pattern supplied in the constructor.
boolean
Accept nodes that are a LinkTag and have a URL that matches the pattern supplied in the constructor.
boolean
Accept nodes that are assignable from the class provided in the constructor.
boolean
Accept nodes that are not acceptable to the predicate filter.
boolean
Accept nodes that are acceptable to any of its predicate filters.
boolean
Accept string nodes that match the regular expression.
boolean
Accept string nodes that contain the string.
boolean
Accept nodes that are tags and have a matching tag name.
boolean
Accept nodes that are acceptable to an odd number of its predicate filters.

Uses in package org.htmlparser.sax

Methods with parameter type org.htmlparser.Node

void
Process nodes recursively on the DocumentHandler.

Uses in package org.htmlparser.visitors

Methods with return type org.htmlparser.Node

Node[]
Node[]

Uses in package org.htmlparser.parserapplications.filterbuilder

Fields of type org.htmlparser.Node

Node
The root Node.

Uses in package org.htmlparser

Methods with parameter type org.htmlparser.Node

boolean
Predicate to determine whether or not to keep the given node.
void
Sets the parent of this node.

Methods with return type org.htmlparser.Node

Node
Get the first child of this node.
Node
Get the last child of this node.
Node
Get the next sibling to this node.
Node
Get the parent of this node.
Node
Get the previous sibling to this node.

Uses in package org.htmlparser.scanners

Methods with parameter type org.htmlparser.Node

void
Add a child to the given tag.

Uses in package org.htmlparser.util

Constructors with parameter type org.htmlparser.Node

Create a one element node list.
Creates a new instance of NodeTreeWalker using depth-first tree traversal, without limits on how deep it may traverse.
NodeTreeWalker.NodeTreeWalker(Node rootNode, boolean depthFirst)
Creates a new instance of NodeTreeWalker using the specified type of tree traversal, without limits on how deep it may traverse.
NodeTreeWalker.NodeTreeWalker(Node rootNode, boolean depthFirst, int maxDepth)
Creates a new instance of NodeTreeWalker using the specified type of tree traversal and maximum depth from the root Node to traverse.

Fields of type org.htmlparser.Node

Node
The current Node element, which will be a child of the root Node, or null.
Node
The next Node element after the current Node element.
Node
The root Node element which defines the scope of the current tree to walk.

Methods with parameter type org.htmlparser.Node

void
boolean
Check to see if the NodeList contains the supplied Node.
void
Node[]
ParserUtils.findTypeInNode(Node node, Class type)
Search given node and pick up any objects of given type.
int
Finds the index of the supplied Node.
void
Sets the root Node to be the given Node.
void
Insert the given node at the head of the list.
boolean
Remove the supplied Node from the list.
void
Sets the specified Node as the root Node.

Methods with return type org.htmlparser.Node

Node
Node[]
ParserUtils.findTypeInNode(Node node, Class type)
Search given node and pick up any objects of given type.
Node
Get the Node in the tree that the NodeTreeWalker is current at.
Node
Traverses to the next Node from the current Node using breadth-first tree traversal
Node
Traverses to the next Node from the current Node using depth-first tree traversal
Node
Get the root Node that defines the scope of the tree to traverse.
Node
Get the next node.
Node
Get the next node.
Node
Traverses to the next Node from the current Node, using either depth-first or breadth-first tree traversal as appropriate.
Node
Get the next node.
Node
NodeList.remove(int index)
Remove the node at index.
Node[]

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

Methods with parameter type org.htmlparser.Node

boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
boolean
Predicate to determine whether or not to keep the given node.
void
Add the attribute values from the node to the set of attribute values.
void
Add the attribute names from the node to the set of attribute names.
void
Add the tag name and it's children's tag names to the set of tag names.

Uses in package org.htmlparser.lexer

Methods with return type org.htmlparser.Node

Node
Lexer.makeRemark(int start, int end)
Create a remark node based on the current cursor and the one provided.
Node
Lexer.makeString(int start, int end)
Create a string node based on the current cursor and the one provided.
Node
Lexer.makeTag(int start, int end, Vector attributes)
Create a tag node based on the current cursor and the one provided.
Node
Get the next node from the source.
Node
Lexer.nextNode(boolean quotesmart)
Get the next node from the source.
Node
Return CDATA as a text node.
Node
Lexer.parseCDATA(boolean quotesmart)
Return CDATA as a text node.
Node
Lexer.parseJsp(int start)
Parse a java server page node.
Node
Lexer.parsePI(int start)
Parse an XML processing instruction.
Node
Lexer.parseRemark(int start, boolean quotesmart)
Parse a comment.
Node
Lexer.parseString(int start, boolean quotesmart)
Parse a string node.
Node
Lexer.parseTag(int start)
Parse a tag.

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