public class FindHTMLFormHandler extends FindHandler implements IHTMLHandler
| Modifier and Type | Field and Description |
|---|---|
protected FormDataAccumulator |
currentFormData |
protected FormDataAccumulator |
discoveredFormData |
protected Pattern |
formNamePattern |
parentURI, targetURI| Constructor and Description |
|---|
FindHTMLFormHandler(String parentURI,
Pattern formNamePattern) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyFormOverrides(LoginParameters lp) |
void |
finishUp()
Done with the document.
|
FormData |
getFormData() |
void |
noteAHREF(String rawURL)
Note discovered href
|
void |
noteFormEnd()
Note the end of a form
|
void |
noteFormInput(Map inputAttributes)
Note an input tag
|
void |
noteFormStart(Map formAttributes)
Note the start of a form
|
void |
noteFRAMESRC(String rawURL)
Note discovered FRAME SRC
|
void |
noteIMGSRC(String rawURL)
Note discovered IMG SRC
|
void |
noteLINKHREF(String rawURL)
Note discovered href
|
void |
noteMetaTag(Map metaAttributes)
Note a meta tag
|
void |
noteTextCharacter(char textCharacter)
Note a character of text.
|
getTargetURI, noteDiscoveredLinkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnoteDiscoveredLinkprotected final Pattern formNamePattern
protected FormDataAccumulator discoveredFormData
protected FormDataAccumulator currentFormData
public void applyFormOverrides(LoginParameters lp) throws ManifoldCFException
ManifoldCFExceptionpublic FormData getFormData()
public void noteTextCharacter(char textCharacter)
throws ManifoldCFException
noteTextCharacter in interface IHTMLHandlerManifoldCFExceptionpublic void noteMetaTag(Map metaAttributes) throws ManifoldCFException
noteMetaTag in interface IMetaTagHandlermetaAttributes - are the attributes that belong to the tag.ManifoldCFExceptionpublic void noteFormStart(Map formAttributes) throws ManifoldCFException
noteFormStart in interface IHTMLHandlerManifoldCFExceptionpublic void noteFormInput(Map inputAttributes) throws ManifoldCFException
noteFormInput in interface IHTMLHandlerManifoldCFExceptionpublic void noteFormEnd()
throws ManifoldCFException
noteFormEnd in interface IHTMLHandlerManifoldCFExceptionpublic void noteAHREF(String rawURL) throws ManifoldCFException
noteAHREF in interface IHTMLHandlerManifoldCFExceptionpublic void noteLINKHREF(String rawURL) throws ManifoldCFException
noteLINKHREF in interface IHTMLHandlerManifoldCFExceptionpublic void noteIMGSRC(String rawURL) throws ManifoldCFException
noteIMGSRC in interface IHTMLHandlerManifoldCFExceptionpublic void noteFRAMESRC(String rawURL) throws ManifoldCFException
noteFRAMESRC in interface IHTMLHandlerManifoldCFExceptionpublic void finishUp()
throws ManifoldCFException
IHTMLHandlerfinishUp in interface IHTMLHandlerManifoldCFException