Uses of Interface
org.htmlparser.Tag
Packages that use Tag
Package
Description
The basic API classes which will be used by most developers when working with
the HTML Parser.
The beans package contains Java Beans using the HTML Parser.
The lexer package is the base level I/O subsystem.
The nodes package has the concrete node implementations.
The sax package implements a SAX (Simple API for XML) parser for HTML.
The scanners package contains classes responsible for the tertiary
identification of tags.
The tags package contains specific tags.
The visitors package contains classes that use the Visitor pattern.
-
Uses of Tag in org.htmlparser
Fields in org.htmlparser declared as TagModifier and TypeFieldDescriptionprotected Tag
PrototypicalNodeFactory.mTag
The prototypical tag node.Methods in org.htmlparser that return TagModifier and TypeMethodDescriptionNodeFactory.createTagNode
(Page page, int start, int end, Vector attributes) Create a new tag node.PrototypicalNodeFactory.createTagNode
(Page page, int start, int end, Vector attributes) Create a new tag node.Gets a tag from the registry.Tag.getEndTag()
Get the end tag for this (composite) tag.PrototypicalNodeFactory.getTagPrototype()
Get the object that is cloned to generate tag nodes.Adds a tag to the registry.Remove a tag from the registry.Methods in org.htmlparser with parameters of type TagModifier and TypeMethodDescriptionAdds a tag to the registry.void
PrototypicalNodeFactory.registerTag
(Tag tag) Register a tag.void
Set the end tag for this (composite) tag.void
PrototypicalNodeFactory.setTagPrototype
(Tag tag) Set the object to be used to generate tag nodes.void
PrototypicalNodeFactory.unregisterTag
(Tag tag) Unregister a tag.Constructors in org.htmlparser with parameters of type TagModifierConstructorDescriptionCreate a new factory with the given tag as the only registered tag.PrototypicalNodeFactory
(Tag[] tags) Create a new factory with the given tags registered. -
Uses of Tag in org.htmlparser.beans
Methods in org.htmlparser.beans with parameters of type TagModifier and TypeMethodDescriptionvoid
StringBean.visitEndTag
(Tag tag) 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 of Tag in org.htmlparser.lexer
Methods in org.htmlparser.lexer that return TagModifier and TypeMethodDescriptionLexer.createTagNode
(Page page, int start, int end, Vector attributes) Create a new tag node. -
Uses of Tag in org.htmlparser.nodes
Classes in org.htmlparser.nodes that implement TagMethods in org.htmlparser.nodes that return TagMethods in org.htmlparser.nodes with parameters of type Tag -
Uses of Tag in org.htmlparser.sax
Fields in org.htmlparser.sax declared as TagModifier and TypeFieldDescriptionprotected Tag
Attributes.mTag
The tag from which attributes are exposed.Constructors in org.htmlparser.sax with parameters of type TagModifierConstructorDescriptionAttributes
(Tag tag, NamespaceSupport support, String[] parts) Create an attibute access object. -
Uses of Tag in org.htmlparser.scanners
Methods in org.htmlparser.scanners that return TagModifier and TypeMethodDescriptionprotected Tag
CompositeTagScanner.createVirtualEndTag
(Tag tag, Lexer lexer, Page page, int position) Creates an end tag with the same name as the given tag.Collect the children.Scan the tag.Scan for script.Scan for style definitions.Scan the tag.Methods in org.htmlparser.scanners with parameters of type TagModifier and TypeMethodDescriptionprotected void
Add a child to the given tag.protected Tag
CompositeTagScanner.createVirtualEndTag
(Tag tag, Lexer lexer, Page page, int position) Creates an end tag with the same name as the given tag.protected void
Finish off a tag.final boolean
CompositeTagScanner.isTagToBeEndedFor
(Tag current, Tag tag) Determine if the current tag should be terminated by the given tag.Collect the children.Scan the tag.Scan for script.Scan for style definitions.Scan the tag. -
Uses of Tag in org.htmlparser.tags
Classes in org.htmlparser.tags that implement TagModifier and TypeClassDescriptionclass
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 tagclass
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 Tagclass
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 in org.htmlparser.tags declared as TagModifier and TypeFieldDescriptionprotected Tag
CompositeTag.mEndTag
The tag that causes this tag to finish.Methods in org.htmlparser.tags that return TagModifier and TypeMethodDescriptionCompositeTag.getEndTag()
Get the end tag for this tag.CompositeTag.searchByName
(String name) Searches all children who for a name attribute.Methods in org.htmlparser.tags with parameters of type Tag -
Uses of Tag in org.htmlparser.visitors
Methods in org.htmlparser.visitors with parameters of type TagModifier and TypeMethodDescriptionvoid
NodeVisitor.visitEndTag
(Tag tag) Called for eachTag
visited that is an end tag.void
TagFindingVisitor.visitEndTag
(Tag tag) void
TextExtractingVisitor.visitEndTag
(Tag tag) void
UrlModifyingVisitor.visitEndTag
(Tag tag) void
void
void
Called for eachTag
visited.void
void
void
void