Fix for Bug# 3571.

Added Terminate() method in nsIDTD.


git-svn-id: svn://10.0.0.236/trunk@41187 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
1999-07-27 00:54:46 +00:00
parent 2665d1a4bd
commit 5d3d91189e
34 changed files with 432 additions and 32 deletions

View File

@@ -467,6 +467,21 @@ nsITokenRecycler* CViewSourceHTML::GetTokenRecycler(void){
return 0;
}
/**
* Use this id you want to stop the building content model
* --------------[ Sets DTD to STOP mode ]----------------
* It's recommended to use this method in accordance with
* the parser's terminate() method.
*
* @update harishd 07/22/99
* @param
* @return
*/
nsresult CViewSourceHTML::Terminate(void)
{
return NS_ERROR_HTMLPARSER_STOPPARSING;
}
/**
* Retrieve the preferred tokenizer for use by this DTD.
* @update gess12/28/98