@EngineService(injectDefaultToWorkflow=true, isCoreEngine=true) public class JavascriptInspectorEngine extends TextInspectorEngine
This engine parses JS files thanks to a SourceMapLineInspector
.
Constructor and Description |
---|
JavascriptInspectorEngine(Boolean inspect,
String charset,
String wrapPattern)
Builds a new instance.
|
Modifier and Type | Method and Description |
---|---|
EngineType |
getEngineType()
Gets the type of engine.
|
List<NutType> |
getNutTypes()
Gets the all
types supported by this engine. |
addInspector, inspect, inspectLine, internalParse, setNutFilter, transform, works
callNextEngine, chain, getNext, getPrevious, parse, setNext
@ConfigConstructor public JavascriptInspectorEngine(@BooleanConfigParam(defaultValue=true,propertyKey="c.g.wuic.engine.inspect") Boolean inspect, @StringConfigParam(defaultValue="UTF-8",propertyKey="c.g.wuic.engine.charset") String charset, @StringConfigParam(defaultValue="",propertyKey="c.g.wuic.engine.wrapPattern") String wrapPattern)
Builds a new instance.
inspect
- activate inspection or notcharset
- inspected files charsetpublic List<NutType> getNutTypes()
Gets the all types
supported by this engine.
getNutTypes
in class NodeEngine
NutType
public EngineType getEngineType()
Gets the type of engine.
getEngineType
in class Engine
Copyright © 2012-2015. All Rights Reserved.