java.lang.Object
org.htmlparser.scanners.TagScanner
org.htmlparser.scanners.CompositeTagScanner
org.htmlparser.scanners.SelectTagScanner
- All Implemented Interfaces:
- java.io.Serializable
- public class SelectTagScanner
- extends CompositeTagScanner
| 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 |
MATCH_NAME
private static final java.lang.String[] MATCH_NAME
optionTags
private org.htmlparser.util.NodeList optionTags
SelectTagScanner
public SelectTagScanner()
SelectTagScanner
public SelectTagScanner(java.lang.String filter)
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
childNodeEncountered
public void childNodeEncountered(org.htmlparser.Node node)
- Description copied from class:
CompositeTagScanner
- This method is called everytime a child to the composite is found. It is
useful when we need to store special children seperately. Though, all
children are collected anyway into a node list.
- Overrides:
childNodeEncountered in class CompositeTagScanner
beforeScanningStarts
public void beforeScanningStarts()
- Description copied from class:
CompositeTagScanner
- Override this method if you wish to create any data structures or do
anything before the start of the scan. This is just after a tag has
triggered the scanner but before the scanner begins its processing.
- Overrides:
beforeScanningStarts in class CompositeTagScanner