public class FindHTMLFormHandler extends FindHandler implements IHTMLHandler
| Modifier and Type | Field and Description |
|---|---|
protected FormDataAccumulator |
currentFormData |
protected FormDataAccumulator |
discoveredFormData |
protected java.util.regex.Pattern |
formNamePattern |
parentURI, targetURI| Constructor and Description |
|---|
FindHTMLFormHandler(java.lang.String parentURI,
java.util.regex.Pattern formNamePattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyFormOverrides(LoginParameters lp) |
void |
finishUp()
Done with the document.
|
FormData |
getFormData() |
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.
|
getTargetURI, noteDiscoveredBase, noteDiscoveredLinkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnoteDiscoveredBase, noteDiscoveredLinkprotected final java.util.regex.Pattern formNamePattern
protected FormDataAccumulator discoveredFormData
protected FormDataAccumulator currentFormData
public FindHTMLFormHandler(java.lang.String parentURI,
java.util.regex.Pattern formNamePattern)
public void applyFormOverrides(LoginParameters lp) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic FormData getFormData()
public 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 noteBASEHREF(java.lang.String rawURL)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
noteBASEHREF 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 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
IHTMLHandlerfinishUp in interface IHTMLHandlerorg.apache.manifoldcf.core.interfaces.ManifoldCFException