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 TagPrototypicalNodeFactory.mTagThe 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.voidPrototypicalNodeFactory.registerTag(Tag tag) Register a tag.voidSet the end tag for this (composite) tag.voidPrototypicalNodeFactory.setTagPrototype(Tag tag) Set the object to be used to generate tag nodes.voidPrototypicalNodeFactory.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 TypeMethodDescriptionvoidStringBean.visitEndTag(Tag tag) Resets the state of the PRE and SCRIPT flags.voidAppends 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 TagAttributes.mTagThe 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 TagCompositeTagScanner.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 voidAdd a child to the given tag.protected TagCompositeTagScanner.createVirtualEndTag(Tag tag, Lexer lexer, Page page, int position) Creates an end tag with the same name as the given tag.protected voidFinish off a tag.final booleanCompositeTagScanner.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 TypeClassDescriptionclassAppletTag represents an <Applet> tag.classBaseHrefTag represents an <Base> tag.classA Body Tag.classA bullet tag.classA bullet list tag.classThe base class for tags that have an end tag.classA definition list tag (dl).classA definition list bullet tag (either DD or DT).classA div tag.classThe HTML Document Declaration Tag can identify <!DOCTYPE> tags.classRepresents a FORM tag.classIdentifies an frame set tag.classIdentifies a frame tagclassA heading (h1 - h6) tag.classA head tag.classA html tag.classIdentifies an image tag.classAn input tag in a form.classThe JSP/ASP tags like <%...%> can be identified by this class.classA label tag.classIdentifies a link tag.classA Meta TagclassObjectTag represents an <Object> tag.classAn option tag within a form.classA paragraph (p) tag.classThe XML processing instructions like <?xml ...classA script tag.classA select tag within a form.classA span tag.classA StyleTag represents a <style> tag.classA table column tag.classA table header tag.classA table row tag.classA table tag.classA text area tag within a form.classA title tag.Fields in org.htmlparser.tags declared as TagModifier and TypeFieldDescriptionprotected TagCompositeTag.mEndTagThe 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 TypeMethodDescriptionvoidNodeVisitor.visitEndTag(Tag tag) Called for eachTagvisited that is an end tag.voidTagFindingVisitor.visitEndTag(Tag tag) voidTextExtractingVisitor.visitEndTag(Tag tag) voidUrlModifyingVisitor.visitEndTag(Tag tag) voidvoidvoidCalled for eachTagvisited.voidvoidvoidvoid