Class DomLessSourceExtractor.HtmlCallback
java.lang.Object
com.ibm.wala.cast.js.html.DomLessSourceExtractor.HtmlCallback
- All Implemented Interfaces:
DomLessSourceExtractor.IGeneratorCallback, IHtmlCallback
- Direct Known Subclasses:
DefaultSourceExtractor.HtmlCallBack
- Enclosing class:
DomLessSourceExtractor
protected static class DomLessSourceExtractor.HtmlCallback
extends Object
implements DomLessSourceExtractor.IGeneratorCallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanprotected final SourceRegionprotected final SourceRegionprotected final URLprotected final SourceRegionprotected final IUrlResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected StringgetScriptName(URL url) protected voidModel the HTML DOMprotected voidvoidhandleEndTag(ITag tag) protected 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)
-
Field Details
-
DEBUG
public static final boolean DEBUG- See Also:
-
entrypointUrl
-
urlResolver
-
scriptRegion
-
domRegion
-
entrypointRegion
-
-
Constructor Details
-
HtmlCallback
-
-
Method Details
-
writeEntrypoint
-
addDefaultHandlerInvocations
protected void addDefaultHandlerInvocations() -
makePos
-
handleEndTag
- Specified by:
handleEndTagin interfaceIHtmlCallback
-
handleText
- Specified by:
handleTextin interfaceIHtmlCallback
-
handleStartTag
- Specified by:
handleStartTagin interfaceIHtmlCallback
-
handleDOM
-
handleDOM
-
writeEntrypoint
-
quotify
-
handleScript
-
getScriptName
-
writeEventLoopHeader
-
writeToFinalRegion
- Specified by:
writeToFinalRegionin interfaceDomLessSourceExtractor.IGeneratorCallback
-