Méthode | Description | |
---|---|---|
GetBase ( ) : |
Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI. Returns the base URI from which this module source was loaded, or null if it was loaded from an absolute URI. |
|
GetReader ( ) : |
Returns the reader returning the source text of the module. Returns the reader returning the source text of the module. Note that subsequent calls to this method return the same object, thus it is not possible to read the source twice. |
|
GetSecurityDomain ( ) : object |
Returns the object representing the security domain for the module's source. Returns the object representing the security domain for the module's source. |
|
GetUri ( ) : |
Returns the URI of the module source text. Returns the URI of the module source text. |
|
GetValidator ( ) : object |
Returns the validator that can be used for subsequent cache validation of the source text. Returns the validator that can be used for subsequent cache validation of the source text. |
|
ModuleSource ( |
Creates a new module source. Creates a new module source. |
public ModuleSource ( |
||
reader | the reader returning the source text of the module. | |
securityDomain | object | /// the object representing the security domain for /// the module's source (passed to Rhino script compiler). /// |
uri | the URI of the module's source text | |
@base | ||
validator | object | /// a validator that can be used for subsequent cache /// validation of the source text. /// |
Résultat | System |