public class FindContentHandler extends FindHandler implements IHTMLHandler
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.StringBuilder |
contentBuffer |
protected java.util.List<java.util.regex.Pattern> |
contentPatterns |
protected static int |
MAX_LENGTH |
protected static int |
OVERLAP_AMOUNT |
parentURI, targetURI| Constructor and Description |
|---|
FindContentHandler(java.lang.String parentURI,
java.util.List<java.util.regex.Pattern> contentPatterns) |
FindContentHandler(java.lang.String parentURI,
java.util.regex.Pattern contentPattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyOverrides(LoginParameters lp)
Apply overrides
|
void |
finishUp()
Finish up all processing.
|
void |
noteAHREF(java.lang.String rawURL)
Note discovered href
|
void |
noteBASEHREF(java.lang.String rawURL)
Note discovered base href
|
void |
noteFormEnd()
Note the end of a form
|
void |
noteFormInput(java.util.Map inputAttributes)
Note an input tag
|
void |
noteFormStart(java.util.Map formAttributes)
Note the start of a form
|
void |
noteFRAMESRC(java.lang.String rawURL)
Note discovered FRAME SRC
|
void |
noteIMGSRC(java.lang.String rawURL)
Note discovered IMG SRC
|
void |
noteLINKHREF(java.lang.String rawURL)
Note discovered href
|
void |
noteMetaTag(java.util.Map metaAttributes)
Note a meta tag
|
void |
noteTextCharacter(char textCharacter)
Note a character of text.
|
protected void |
processBuffer() |
getTargetURI, noteDiscoveredBase, noteDiscoveredLinkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnoteDiscoveredBase, noteDiscoveredLinkprotected final java.util.List<java.util.regex.Pattern> contentPatterns
protected final java.lang.StringBuilder contentBuffer
protected static final int MAX_LENGTH
protected static final int OVERLAP_AMOUNT
public FindContentHandler(java.lang.String parentURI,
java.util.regex.Pattern contentPattern)
public FindContentHandler(java.lang.String parentURI,
java.util.List<java.util.regex.Pattern> contentPatterns)
public void applyOverrides(LoginParameters lp) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteTextCharacter(char textCharacter)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteTextCharacter in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteMetaTag(java.util.Map metaAttributes)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteMetaTag in interface IMetaTagHandlermetaAttributes - are the attributes that belong to the tag.org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteFormStart(java.util.Map formAttributes)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteFormStart in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteFormInput(java.util.Map inputAttributes)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteFormInput in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteFormEnd()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteFormEnd in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteAHREF(java.lang.String rawURL)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteAHREF in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteBASEHREF(java.lang.String rawURL)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteBASEHREF in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteLINKHREF(java.lang.String rawURL)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteLINKHREF in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteIMGSRC(java.lang.String rawURL)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteIMGSRC in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void noteFRAMESRC(java.lang.String rawURL)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteFRAMESRC in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void finishUp()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
finishUp in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionprotected void processBuffer()