Class CachingModuleScriptProviderBase.CachedModuleScript
- java.lang.Object
-
- org.htmlunit.corejs.javascript.commonjs.module.provider.CachingModuleScriptProviderBase.CachedModuleScript
-
- Enclosing class:
- CachingModuleScriptProviderBase
public static class CachingModuleScriptProviderBase.CachedModuleScript extends java.lang.ObjectInstances of this class represent a loaded and cached module script.- Version:
- $Id: CachingModuleScriptProviderBase.java,v 1.3 2011/04/07 20:26:12 hannes%helma.at Exp $
-
-
Field Summary
Fields Modifier and Type Field Description private ModuleScriptmoduleScriptprivate java.lang.Objectvalidator
-
Constructor Summary
Constructors Constructor Description CachedModuleScript(ModuleScript moduleScript, java.lang.Object validator)Creates a new cached module script.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ModuleScriptgetModule()Returns the module script.(package private) java.lang.ObjectgetValidator()Returns the validator for the module script's source text entity.
-
-
-
Field Detail
-
moduleScript
private final ModuleScript moduleScript
-
validator
private final java.lang.Object validator
-
-
Constructor Detail
-
CachedModuleScript
public CachedModuleScript(ModuleScript moduleScript, java.lang.Object validator)
Creates a new cached module script.- Parameters:
moduleScript- the module script itselfvalidator- a validator for the moduleScript's source text entity.
-
-
Method Detail
-
getModule
ModuleScript getModule()
Returns the module script.- Returns:
- the module script.
-
getValidator
java.lang.Object getValidator()
Returns the validator for the module script's source text entity.- Returns:
- the validator for the module script's source text entity.
-
-