Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.scanners
Class LabelScanner  view LabelScanner download LabelScanner.java

java.lang.Object
  extended byorg.htmlparser.scanners.TagScanner
      extended byorg.htmlparser.scanners.CompositeTagScanner
          extended byorg.htmlparser.scanners.LabelScanner
All Implemented Interfaces:
java.io.Serializable

public class LabelScanner
extends CompositeTagScanner


Field Summary
private static java.lang.String[] MATCH_NAME
           
 
Fields inherited from class org.htmlparser.scanners.CompositeTagScanner
nameOfTagToMatch
 
Fields inherited from class org.htmlparser.scanners.TagScanner
feedback, filter
 
Constructor Summary
LabelScanner()
           
LabelScanner(java.lang.String filter)
           
 
Method Summary
 org.htmlparser.tags.Tag createTag(org.htmlparser.tags.data.TagData tagData, org.htmlparser.tags.data.CompositeTagData compositeTagData)
          You must override this method to create the tag of your choice upon successful parsing.
 java.lang.String[] getID()
           
 
Methods inherited from class org.htmlparser.scanners.CompositeTagScanner
beforeScanningStarts, childNodeEncountered, isAllowSelfChildren, isTagToBeEndedFor, scan, shouldCreateEndTagAndExit
 
Methods inherited from class org.htmlparser.scanners.TagScanner
absorb, absorbLeadingBlanks, adjustScanners, createScannedNode, createTag, evaluate, extractXMLData, getFilter, getInsertedEndTag, getReplacedEndTag, insertEndTagBeforeNode, isXMLTagFound, removeChars, replaceFaultyTagWithEndTag, restoreScanners, setFeedback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MATCH_NAME

private static final java.lang.String[] MATCH_NAME
Constructor Detail

LabelScanner

public LabelScanner()

LabelScanner

public LabelScanner(java.lang.String filter)
Method Detail

getID

public java.lang.String[] getID()
Specified by:
getID in class TagScanner

createTag

public org.htmlparser.tags.Tag createTag(org.htmlparser.tags.data.TagData tagData,
                                         org.htmlparser.tags.data.CompositeTagData compositeTagData)
Description copied from class: CompositeTagScanner
You must override this method to create the tag of your choice upon successful parsing. Data required for construction of your tag can be found within tagData and compositeTagData

Specified by:
createTag in class CompositeTagScanner