protected static class ConfigImpl.Alias extends Object implements IConfig.IAlias
Constructor and Description |
---|
ConfigImpl.Alias(Object pattern,
Object replacement) |
Modifier and Type | Method and Description |
---|---|
Object |
getPattern()
A String or an implementation specific representation of a JavaScript
regular expression.
|
Object |
getReplacement()
A string or an implementation specific representation of a JavaScript
replacement function.
|
String |
toString() |
public Object getPattern()
IConfig.IAlias
getPattern
in interface IConfig.IAlias
public Object getReplacement()
IConfig.IAlias
For javascript replacement functions, the javascript has()
function
is defined for the feature set provided in the request. The replacement
function script may also query the options
object which contains the
IOptions
properties and the initParams
object which contains
the InitParams
properties.
The replacement may be a Script only if
IConfig.IAlias.getPattern()
returns a Pattern.
getReplacement
in interface IConfig.IAlias
Copyright © 2011-2015 IBM. All Rights Reserved.