HTML Parser Home Page

Uses of Class
org.htmlparser.tags.Tag

Packages that use Tag
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.beans The beans package contains Java Beans that can integrate within IDEs. 
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.visitors The visitors package contains classes that use the Visitor pattern. 
 

Uses of Tag in org.htmlparser
 

Methods in org.htmlparser that return Tag
 Tag PrototypicalNodeFactory.put(String id, Tag tag)
          Adds a tag to the registry.
 Tag PrototypicalNodeFactory.get(String id)
          Gets a tag from the registry.
 Tag PrototypicalNodeFactory.remove(String id)
          Remove a tag from the registry.
 

Methods in org.htmlparser with parameters of type Tag
 Tag PrototypicalNodeFactory.put(String id, Tag tag)
          Adds a tag to the registry.
 void PrototypicalNodeFactory.registerTag(Tag tag)
           
 void PrototypicalNodeFactory.unregisterTag(Tag tag)
           
 

Constructors in org.htmlparser with parameters of type Tag
PrototypicalNodeFactory(Tag tag)
          Create a new factory with the given tag as the only one registered.
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
 void StringBean.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.
 void StringBean.visitEndTag(Tag tag)
          Resets the state of the PRE and SCRIPT flags.
 

Uses of Tag in org.htmlparser.scanners
 

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

Methods in org.htmlparser.scanners with parameters of type Tag
 Tag StyleScanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Scan for style definitions.
 Tag ScriptScanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Scan for script.
 Tag CompositeTagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Collect the children.
protected  void CompositeTagScanner.addChild(Tag parent, Node child)
          Add a child to the given tag.
protected  Tag CompositeTagScanner.createVirtualEndTag(Tag tag, Page page, int position)
          Creates an end tag with the same name as the given tag.
 boolean CompositeTagScanner.isTagToBeEndedFor(Tag current, Tag tag)
          Determine if the current tag should be terminated by the given tag.
 Tag Scanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Scan the tag.
 Tag TagScanner.scan(Tag tag, Lexer lexer, NodeList stack)
          Scan the tag.
 

Uses of Tag in org.htmlparser.tags
 

Subclasses of Tag in org.htmlparser.tags
 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 TextareaTag
          A text area tag within a form.
 class TitleTag
          A title tag.
 

Methods in org.htmlparser.tags that return Tag
 Tag CompositeTag.searchByName(String name)
          Searches all children who for a name attribute.
 

Uses of Tag in org.htmlparser.visitors
 

Methods in org.htmlparser.visitors with parameters of type Tag
 void UrlModifyingVisitor.visitTag(Tag tag)
           
 void UrlModifyingVisitor.visitEndTag(Tag tag)
           
 void TextExtractingVisitor.visitTag(Tag tag)
           
 void TextExtractingVisitor.visitEndTag(Tag tag)
           
 void TagFindingVisitor.visitTag(Tag tag)
           
 void TagFindingVisitor.visitEndTag(Tag tag)
           
 void ObjectFindingVisitor.visitTag(Tag tag)
           
 void NodeVisitor.visitTag(Tag tag)
           
 void NodeVisitor.visitEndTag(Tag tag)
           
 void HtmlPage.visitTag(Tag tag)
           
 


© 2004 Somik Raha
Mar 14, 2004

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