Uses of Interface org.htmlparser.Tag

Uses in package org.htmlparser

Constructors with parameter type org.htmlparser.Tag

Create a new factory with the given tag as the only registered tag.
Create a new factory with the given tags registered.

Fields of type org.htmlparser.Tag

Tag
The prototypical tag node.

Methods with parameter type org.htmlparser.Tag

Tag
PrototypicalNodeFactory.put(String id, Tag tag)
Adds a tag to the registry.
void
Register a tag.
void
Set the end tag for this (composite) tag.
void
Set the object to be used to generate tag nodes.
void
Unregister a tag.

Methods with return type org.htmlparser.Tag

Tag
NodeFactory.createTagNode(Page page, int start, int end, Vector attributes)
Create a new tag node.
Tag
PrototypicalNodeFactory.createTagNode(Page page, int start, int end, Vector attributes)
Create a new tag node.
Tag
Gets a tag from the registry.
Tag
Get the end tag for this (composite) tag.
Tag
Get the object that is cloned to generate tag nodes.
Tag
PrototypicalNodeFactory.put(String id, Tag tag)
Adds a tag to the registry.
Tag
Remove a tag from the registry.

Uses in package org.htmlparser.tags

Classes implementing org.htmlparser.Tag

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.

Fields of type org.htmlparser.Tag

Tag
The tag that causes this tag to finish.

Methods with parameter type org.htmlparser.Tag

void
Set the end tag for this tag.

Methods with return type org.htmlparser.Tag

Tag
Get the end tag for this tag.
Tag
Searches all children who for a name attribute.

Uses in package org.htmlparser.nodes

Classes implementing org.htmlparser.Tag

class
TagNode represents a generic tag.

Methods with parameter type org.htmlparser.Tag

void
Set the end tag for this (composite) tag.

Methods with return type org.htmlparser.Tag

Tag
Get the end tag for this (composite) tag.

Uses in package org.htmlparser.lexer

Methods with return type org.htmlparser.Tag

Tag
Lexer.createTagNode(Page page, int start, int end, Vector attributes)
Create a new tag node.

Uses in package org.htmlparser.beans

Methods with parameter type org.htmlparser.Tag

void
Resets the state of the PRE and SCRIPT flags.
void
Appends a NEWLINE to the output if the tag breaks flow, and possibly sets the state of the PRE and SCRIPT flags.

Uses in package org.htmlparser.visitors

Methods with parameter type org.htmlparser.Tag

void
Called for each Tag visited that is an end tag.
void
Called for each Tag visited that is an end tag.
void
Called for each Tag visited that is an end tag.
void
Called for each Tag visited that is an end tag.
void
Called for each Tag visited.
void
Called for each Tag visited.
void
Called for each Tag visited.
void
Called for each Tag visited.
void
Called for each Tag visited.
void
Called for each Tag visited.
void
Called for each Tag visited.

Uses in package org.htmlparser.sax

Constructors with parameter type org.htmlparser.Tag

Attributes.Attributes(Tag tag, NamespaceSupport support, String[] parts)
Create an attibute access object.

Fields of type org.htmlparser.Tag

Tag
The tag from which attributes are exposed.

Uses in package org.htmlparser.scanners

Methods with parameter type org.htmlparser.Tag

void
Add a child to the given tag.
Tag
CompositeTagScanner.createVirtualEndTag(Tag tag, Lexer lexer, Page page, int position)
Creates an end tag with the same name as the given tag.
void
Finish off a tag.
boolean
Determine if the current tag should be terminated by the given tag.
Tag
CompositeTagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Collect the children.
Tag
Scanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan the tag.
Tag
ScriptScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan for script.
Tag
StyleScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan for style definitions.
Tag
TagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan the tag.

Methods with return type org.htmlparser.Tag

Tag
CompositeTagScanner.createVirtualEndTag(Tag tag, Lexer lexer, Page page, int position)
Creates an end tag with the same name as the given tag.
Tag
CompositeTagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Collect the children.
Tag
Scanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan the tag.
Tag
ScriptScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan for script.
Tag
StyleScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan for style definitions.
Tag
TagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
Scan the tag.

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