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

Quick Search    Search Deep

org.htmlparser.tests.scannersTests
Class CompositeTagScannerTest.AnotherScanner  view CompositeTagScannerTest.AnotherScanner download CompositeTagScannerTest.AnotherScanner.java

java.lang.Object
  extended byorg.htmlparser.scanners.TagScanner
      extended byorg.htmlparser.scanners.CompositeTagScanner
          extended byorg.htmlparser.tests.scannersTests.CompositeTagScannerTest.AnotherScanner
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CompositeTagScannerTest

public static class CompositeTagScannerTest.AnotherScanner
extends org.htmlparser.scanners.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
CompositeTagScannerTest.AnotherScanner()
           
CompositeTagScannerTest.AnotherScanner(boolean acceptCustomTagsButDontAcceptCustomEndTags)
           
 
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()
           
protected  boolean isBrokenTag()
           
 
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

CompositeTagScannerTest.AnotherScanner

public CompositeTagScannerTest.AnotherScanner()

CompositeTagScannerTest.AnotherScanner

public CompositeTagScannerTest.AnotherScanner(boolean acceptCustomTagsButDontAcceptCustomEndTags)
Method Detail

getID

public java.lang.String[] getID()

createTag

public org.htmlparser.tags.Tag createTag(org.htmlparser.tags.data.TagData tagData,
                                         org.htmlparser.tags.data.CompositeTagData compositeTagData)
Description copied from class: org.htmlparser.scanners.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


isBrokenTag

protected boolean isBrokenTag()