|
HTML Parser Home Page | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Node | |
| org.htmlparser | The basic API classes which will be used by most users when working with the html parser (the Parser class is the most important one in this). |
| org.htmlparser.filters | The filters package contains example filters to select only desired nodes. |
| org.htmlparser.lexer | The lexer package is the base level I/O subsystem. |
| org.htmlparser.lexer.nodes | The nodes package are the lexemes returned by the base level I/O subsystem. |
| org.htmlparser.nodeDecorators | The nodeDecorators package contains classes that use the Decorator pattern. |
| org.htmlparser.scanners | The scanners package contains classes responsible for the tertiary identification of tags. |
| org.htmlparser.tags | The tags package contains tag types that are created mostly by the scanners. |
| org.htmlparser.util | Code which can be reused by many classes, is located in this package. |
| org.htmlparser.visitors | The visitors package contains classes that use the Visitor pattern. |
| Uses of Node in org.htmlparser |
| Classes in org.htmlparser that implement Node | |
class |
AbstractNode
AbstractNode, which implements the Node interface, is the base class for all types of nodes, including tags, string elements, etc |
| Fields in org.htmlparser declared as Node | |
protected Node |
AbstractNode.parent
The parent of this node. |
| Methods in org.htmlparser that return Node | |
Node |
StringNodeFactory.createStringNode(Page page,
int start,
int end)
Create a new string node. |
Node |
PrototypicalNodeFactory.createStringNode(Page page,
int start,
int end)
Create a new string node. |
Node |
PrototypicalNodeFactory.createRemarkNode(Page page,
int start,
int end)
Create a new remark node. |
Node |
PrototypicalNodeFactory.createTagNode(Page page,
int start,
int end,
Vector attributes)
Create a new tag node. |
Node[] |
Parser.extractAllNodesThatAre(Class nodeType)
Convenience method to extract all nodes of a given class type. |
Node |
Node.getParent()
Get the parent of this node. |
Node |
AbstractNode.getParent()
Get the parent of this node. |
| Methods in org.htmlparser with parameters of type Node | |
boolean |
NodeFilter.accept(Node node)
Predicate to determine whether or not to keep the given node. |
void |
Node.setParent(Node node)
Sets the parent of this node. |
void |
AbstractNode.setParent(Node node)
Sets the parent of this node. |
| Uses of Node in org.htmlparser.filters |
| Fields in org.htmlparser.filters declared as Node | |
Node |
IsEqualFilter.mNode
The node to match. |
| Methods in org.htmlparser.filters with parameters of type Node | |
boolean |
TagNameFilter.accept(Node node)
Accept nodes that are tags and have a matching tag name. |
boolean |
StringFilter.accept(Node node)
Accept string nodes that contain the string. |
boolean |
OrFilter.accept(Node node)
Accept nodes that are acceptable to either filter. |
boolean |
NotFilter.accept(Node node)
Accept nodes that are not acceptable to the filter. |
boolean |
IsEqualFilter.accept(Node node)
Accept the node. |
boolean |
HasParentFilter.accept(Node node)
Accept tags with parent acceptable to the filter. |
boolean |
HasChildFilter.accept(Node node)
Accept tags with children acceptable to the filter. |
boolean |
HasAttributeFilter.accept(Node node)
Accept tags with a certain attribute. |
boolean |
NodeClassFilter.accept(Node node)
Accept nodes that are assignable from the class provided in the constructor. |
boolean |
AndFilter.accept(Node node)
Accept nodes that are acceptable to both filters. |
| Constructors in org.htmlparser.filters with parameters of type Node | |
IsEqualFilter(Node node)
Creates a new instance of an IsEqualFilter that accepts only the node provided. |
|
| Uses of Node in org.htmlparser.lexer |
| Methods in org.htmlparser.lexer that return Node | |
Node |
Lexer.nextNode()
Get the next node from the source. |
Node |
Lexer.nextNode(boolean quotesmart)
Get the next node from the source. |
protected Node |
Lexer.parseString(Cursor cursor,
boolean quotesmart)
Parse a string node. |
protected Node |
Lexer.makeString(Cursor cursor)
Create a string node based on the current cursor and the one provided. |
protected Node |
Lexer.parseTag(Cursor cursor)
Parse a tag. |
protected Node |
Lexer.makeTag(Cursor cursor,
Vector attributes)
Create a tag node based on the current cursor and the one provided. |
protected Node |
Lexer.parseRemark(Cursor cursor,
boolean quotesmart)
Parse a comment. |
protected Node |
Lexer.makeRemark(Cursor cursor)
Create a remark node based on the current cursor and the one provided. |
protected Node |
Lexer.parseJsp(Cursor cursor)
Parse a java server page node. |
Node |
Lexer.createStringNode(Page page,
int start,
int end)
Create a new string node. |
Node |
Lexer.createRemarkNode(Page page,
int start,
int end)
Create a new remark node. |
Node |
Lexer.createTagNode(Page page,
int start,
int end,
Vector attributes)
Create a new tag node. |
| Uses of Node in org.htmlparser.lexer.nodes |
| Classes in org.htmlparser.lexer.nodes that implement Node | |
class |
RemarkNode
The remark tag is identified and represented by this class. |
class |
StringNode
Normal text in the HTML document is represented by this class. |
class |
TagNode
TagNode represents a generic tag. |
| Methods in org.htmlparser.lexer.nodes that return Node | |
Node |
NodeFactory.createStringNode(Page page,
int start,
int end)
Create a new string node. |
Node |
NodeFactory.createRemarkNode(Page page,
int start,
int end)
Create a new remark node. |
Node |
NodeFactory.createTagNode(Page page,
int start,
int end,
Vector attributes)
Create a new tag node. |
| Uses of Node in org.htmlparser.nodeDecorators |
| Classes in org.htmlparser.nodeDecorators that implement Node | |
class |
AbstractNodeDecorator
|
class |
DecodingNode
|
class |
EscapeCharacterRemovingNode
|
class |
NonBreakingSpaceConvertingNode
|
| Fields in org.htmlparser.nodeDecorators declared as Node | |
protected Node |
AbstractNodeDecorator.delegate
|
| Methods in org.htmlparser.nodeDecorators that return Node | |
Node |
AbstractNodeDecorator.getParent()
|
| Methods in org.htmlparser.nodeDecorators with parameters of type Node | |
void |
AbstractNodeDecorator.setParent(Node node)
|
| Constructors in org.htmlparser.nodeDecorators with parameters of type Node | |
NonBreakingSpaceConvertingNode(Node newDelegate)
|
|
EscapeCharacterRemovingNode(Node newDelegate)
|
|
DecodingNode(Node node)
|
|
AbstractNodeDecorator(Node delegate)
|
|
| Uses of Node in org.htmlparser.scanners |
| Methods in org.htmlparser.scanners with parameters of type Node | |
protected void |
CompositeTagScanner.addChild(Tag parent,
Node child)
Add a child to the given tag. |
| Uses of Node in org.htmlparser.tags |
| Classes in org.htmlparser.tags that implement Node | |
class |
AppletTag
AppletTag represents an <Applet> tag. |
class |
BaseHrefTag
BaseHrefTag represents an <Base> tag. |
class |
BodyTag
A Body Tag. |
class |
Bullet
A bullet tag. |
class |
BulletList
A bullet list tag. |
class |
CompositeTag
The base class for tags that have an end tag. |
class |
Div
A div tag. |
class |
DoctypeTag
The HTML Document Declaration Tag can identify <!DOCTYPE> tags. |
class |
FormTag
Represents a FORM tag. |
class |
FrameSetTag
Identifies an frame set tag. |
class |
FrameTag
Identifies a frame tag |
class |
HeadTag
A head tag. |
class |
Html
A html tag. |
class |
ImageTag
Identifies an image tag. |
class |
InputTag
An input tag in a form. |
class |
JspTag
The JSP/ASP tags like <%...%> can be identified by this class. |
class |
LabelTag
A label tag. |
class |
LinkTag
Identifies a link tag. |
class |
MetaTag
A Meta Tag |
class |
OptionTag
An option tag within a form. |
class |
ScriptTag
A script tag. |
class |
SelectTag
A select tag within a form. |
class |
Span
A span tag. |
class |
StyleTag
A StyleTag represents a <style> tag. |
class |
TableColumn
A table column tag. |
class |
TableHeader
A table header tag. |
class |
TableRow
A table row tag. |
class |
TableTag
A table tag. |
class |
Tag
Tag represents a generic tag. |
class |
TextareaTag
A text area tag within a form. |
class |
TitleTag
A title tag. |
| Methods in org.htmlparser.tags that return Node | |
Node |
CompositeTag.getChild(int index)
Get the child of this node at the given position. |
Node[] |
CompositeTag.getChildrenAsNodeArray()
Get the children as an array of Node objects. |
Node |
CompositeTag.childAt(int index)
Get child at given index |
| Methods in org.htmlparser.tags with parameters of type Node | |
int |
CompositeTag.findPositionOf(Node searchNode)
Returns the node number of a child node given the node object. |
| Uses of Node in org.htmlparser.util |
| Methods in org.htmlparser.util that return Node | |
Node |
PeekingIteratorImpl.peek()
Deprecated. |
Node |
PeekingIteratorImpl.nextNode()
Deprecated. Get the next node. |
Node |
PeekingIterator.peek()
Deprecated. Fetch a node without consuming it. |
static Node[] |
ParserUtils.findTypeInNode(Node node,
Class type)
Search given node and pick up any objects of given type. |
Node |
IteratorImpl.nextNode()
Get the next node. |
Node |
NodeIterator.nextNode()
Get the next node. |
Node |
SimpleNodeIterator.nextNode()
Get the next node. |
Node |
NodeList.elementAt(int i)
|
Node[] |
NodeList.toNodeArray()
|
Node |
NodeList.remove(int index)
|
| Methods in org.htmlparser.util with parameters of type Node | |
void |
PeekingIteratorImpl.push(Node node)
Deprecated. Makes node the next Node that will be returned. |
static Node[] |
ParserUtils.findTypeInNode(Node node,
Class type)
Search given node and pick up any objects of given type. |
void |
NodeList.add(Node node)
|
void |
NodeList.prepend(Node node)
Insert the given node at the head of the list. |
void |
NodeList.copyToNodeArray(Node[] array)
|
| Constructors in org.htmlparser.util with parameters of type Node | |
NodeList(Node node)
Create a one element node list. |
|
| Uses of Node in org.htmlparser.visitors |
| Methods in org.htmlparser.visitors that return Node | |
Node[] |
TagFindingVisitor.getTags(int index)
|
Node[] |
ObjectFindingVisitor.getTags()
|
|
© 2004 Somik Raha Mar 14, 2004
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||