* @throws AnalysisException if the analysis could not be performed
*/
public HtmlElementImpl buildHtmlElement(Source source, long modificationStamp, HtmlUnit unit)
throws AnalysisException {
this.modificationStamp = modificationStamp;
HtmlElementImpl result = new HtmlElementImpl(context, source.getShortName());
result.setSource(source);
htmlElement = result;
unit.accept(this);
htmlElement = null;
unit.setElement(result);
return result;