Uses of Interface
org.htmlparser.Tag
-
Packages that use Tag Package Description org.htmlparser The basic API classes which will be used by most developers when working with the HTML Parser.org.htmlparser.beans The beans package contains Java Beans using the HTML Parser.org.htmlparser.lexer The lexer package is the base level I/O subsystem.org.htmlparser.nodes The nodes package has the concrete node implementations.org.htmlparser.sax The sax package implements a SAX (Simple API for XML) parser for HTML.org.htmlparser.scanners The scanners package contains classes responsible for the tertiary identification of tags.org.htmlparser.tags The tags package contains specific tags.org.htmlparser.visitors The visitors package contains classes that use the Visitor pattern. -
-
Uses of Tag in org.htmlparser
Fields in org.htmlparser declared as Tag Modifier and Type Field Description protected TagPrototypicalNodeFactory. mTagThe prototypical tag node.Methods in org.htmlparser that return Tag Modifier and Type Method Description TagNodeFactory. createTagNode(Page page, int start, int end, java.util.Vector attributes)Create a new tag node.TagPrototypicalNodeFactory. createTagNode(Page page, int start, int end, java.util.Vector attributes)Create a new tag node.TagPrototypicalNodeFactory. get(java.lang.String id)Gets a tag from the registry.TagTag. getEndTag()Get the end tag for this (composite) tag.TagPrototypicalNodeFactory. getTagPrototype()Get the object that is cloned to generate tag nodes.TagPrototypicalNodeFactory. put(java.lang.String id, Tag tag)Adds a tag to the registry.TagPrototypicalNodeFactory. remove(java.lang.String id)Remove a tag from the registry.Methods in org.htmlparser with parameters of type Tag Modifier and Type Method Description TagPrototypicalNodeFactory. put(java.lang.String id, Tag tag)Adds a tag to the registry.voidPrototypicalNodeFactory. registerTag(Tag tag)Register a tag.voidTag. setEndTag(Tag tag)Set 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 Tag Constructor Description PrototypicalNodeFactory(Tag tag)Create 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 Tag Modifier and Type Method Description voidStringBean. visitEndTag(Tag tag)Resets the state of the PRE and SCRIPT flags.voidStringBean. visitTag(Tag tag)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 Tag Modifier and Type Method Description TagLexer. createTagNode(Page page, int start, int end, java.util.Vector attributes)Create a new tag node. -
Uses of Tag in org.htmlparser.nodes
Classes in org.htmlparser.nodes that implement Tag Modifier and Type Class Description classTagNodeTagNode represents a generic tag.Methods in org.htmlparser.nodes that return Tag Modifier and Type Method Description TagTagNode. getEndTag()Get the end tag for this (composite) tag.Methods in org.htmlparser.nodes with parameters of type Tag Modifier and Type Method Description voidTagNode. setEndTag(Tag end)Set the end tag for this (composite) tag. -
Uses of Tag in org.htmlparser.sax
Fields in org.htmlparser.sax declared as Tag Modifier and Type Field Description protected TagAttributes. mTagThe tag from which attributes are exposed.Constructors in org.htmlparser.sax with parameters of type Tag Constructor Description Attributes(Tag tag, NamespaceSupport support, java.lang.String[] parts)Create an attibute access object. -
Uses of Tag in org.htmlparser.scanners
Methods in org.htmlparser.scanners that return Tag Modifier and Type Method Description protected TagCompositeTagScanner. createVirtualEndTag(Tag tag, Lexer lexer, Page page, int position)Creates an end tag with the same name as the given tag.TagCompositeTagScanner. scan(Tag tag, Lexer lexer, NodeList stack)Collect the children.TagScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan the tag.TagScriptScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan for script.TagStyleScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan for style definitions.TagTagScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan the tag.Methods in org.htmlparser.scanners with parameters of type Tag Modifier and Type Method Description protected voidCompositeTagScanner. addChild(Tag parent, Node child)Add 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 voidCompositeTagScanner. finishTag(Tag tag, Lexer lexer)Finish off a tag.booleanCompositeTagScanner. isTagToBeEndedFor(Tag current, Tag tag)Determine if the current tag should be terminated by the given tag.TagCompositeTagScanner. scan(Tag tag, Lexer lexer, NodeList stack)Collect the children.TagScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan the tag.TagScriptScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan for script.TagStyleScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan for style definitions.TagTagScanner. scan(Tag tag, Lexer lexer, NodeList stack)Scan the tag. -
Uses of Tag in org.htmlparser.tags
Classes in org.htmlparser.tags that implement Tag Modifier and Type Class Description classAppletTagAppletTag represents an <Applet> tag.classBaseHrefTagBaseHrefTag represents an <Base> tag.classBodyTagA Body Tag.classBulletA bullet tag.classBulletListA bullet list tag.classCompositeTagThe base class for tags that have an end tag.classDefinitionListA definition list tag (dl).classDefinitionListBulletA definition list bullet tag (either DD or DT).classDivA div tag.classDoctypeTagThe HTML Document Declaration Tag can identify <!DOCTYPE> tags.classFormTagRepresents a FORM tag.classFrameSetTagIdentifies an frame set tag.classFrameTagIdentifies a frame tagclassHeadingTagA heading (h1 - h6) tag.classHeadTagA head tag.classHtmlA html tag.classImageTagIdentifies an image tag.classInputTagAn input tag in a form.classJspTagThe JSP/ASP tags like <%...%> can be identified by this class.classLabelTagA label tag.classLinkTagIdentifies a link tag.classMetaTagA Meta TagclassObjectTagObjectTag represents an <Object> tag.classOptionTagAn option tag within a form.classParagraphTagA paragraph (p) tag.classProcessingInstructionTagThe XML processing instructions like <?xml ...classScriptTagA script tag.classSelectTagA select tag within a form.classSpanA span tag.classStyleTagA StyleTag represents a <style> tag.classTableColumnA table column tag.classTableHeaderA table header tag.classTableRowA table row tag.classTableTagA table tag.classTextareaTagA text area tag within a form.classTitleTagA title tag.Fields in org.htmlparser.tags declared as Tag Modifier and Type Field Description protected TagCompositeTag. mEndTagThe tag that causes this tag to finish.Methods in org.htmlparser.tags that return Tag Modifier and Type Method Description TagCompositeTag. getEndTag()Get the end tag for this tag.TagCompositeTag. searchByName(java.lang.String name)Searches all children who for a name attribute.Methods in org.htmlparser.tags with parameters of type Tag Modifier and Type Method Description voidCompositeTag. setEndTag(Tag tag)Set the end tag for this tag. -
Uses of Tag in org.htmlparser.visitors
Methods in org.htmlparser.visitors with parameters of type Tag Modifier and Type Method Description voidNodeVisitor. visitEndTag(Tag tag)Called for eachTagvisited that is an end tag.voidTagFindingVisitor. visitEndTag(Tag tag)voidTextExtractingVisitor. visitEndTag(Tag tag)voidUrlModifyingVisitor. visitEndTag(Tag tag)voidHtmlPage. visitTag(Tag tag)voidLinkFindingVisitor. visitTag(Tag tag)voidNodeVisitor. visitTag(Tag tag)Called for eachTagvisited.voidObjectFindingVisitor. visitTag(Tag tag)voidTagFindingVisitor. visitTag(Tag tag)voidTextExtractingVisitor. visitTag(Tag tag)voidUrlModifyingVisitor. visitTag(Tag tag)
-