Class DefaultSourceExtractor.HtmlCallBack
java.lang.Object
com.ibm.wala.cast.js.html.DomLessSourceExtractor.HtmlCallback
com.ibm.wala.cast.js.html.DefaultSourceExtractor.HtmlCallBack
- All Implemented Interfaces:
DomLessSourceExtractor.IGeneratorCallback, IHtmlCallback
- Enclosing class:
DefaultSourceExtractor
protected static class DefaultSourceExtractor.HtmlCallBack
extends DomLessSourceExtractor.HtmlCallback
-
Field Summary
Fields inherited from class DomLessSourceExtractor.HtmlCallback
DEBUG, domRegion, entrypointRegion, entrypointUrl, scriptRegion, urlResolverModifier and TypeFieldDescriptionstatic final booleanprotected final SourceRegionprotected final SourceRegionprotected final URLprotected final SourceRegionprotected final IUrlResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidendElement(String name) protected voidvoidhandleEndTag(ITag tag) protected voidprotected voidprintlnIndented(String line, ITag relatedTag) protected voidprotected voidwriteElement(ITag tag, String cons, String varName) protected voidprotected voidwritePortletAttribute(ITag tag, String attr, String value, String varName) Methods inherited from class DomLessSourceExtractor.HtmlCallback
addDefaultHandlerInvocations, getScriptName, handleDOM, handleScript, handleStartTag, handleText, makePos, quotify, writeEntrypoint, writeEntrypoint, writeEventLoopHeader, writeToFinalRegionModifier and TypeMethodDescriptionprotected voidprotected StringgetScriptName(URL url) protected voidModel the HTML DOMprotected voidhandleScript(ITag tag) voidhandleStartTag(ITag tag) voidprotected CAstSourcePositionMap.Positionprotected voidprotected voidwriteEntrypoint(String text, CAstSourcePositionMap.Position pos, URL url, boolean b) protected voidwriteEventLoopHeader(SourceRegion finalRegion) voidwriteToFinalRegion(SourceRegion finalRegion)
-
Constructor Details
-
HtmlCallBack
-
-
Method Details
-
handleEndTag
- Specified by:
handleEndTagin interfaceIHtmlCallback- Overrides:
handleEndTagin classDomLessSourceExtractor.HtmlCallback
-
handleDOM
- Overrides:
handleDOMin classDomLessSourceExtractor.HtmlCallback
-
printlnIndented
-
writeElement
-
inputElementCallback
protected void inputElementCallback() -
writeAttribute
-
writeEventAttribute
-
writePortletAttribute
-
endElement
-