public interface DNConverter
The reason for restricting the use of this interface to stylesheets is because certain types of DN conversions (from unqualified names to qualified names) require getting the qualification information from eDirectory. Drivers running under the Remote Loader do not have access to this information and so could not use this class.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(java.lang.String srcDN,
java.lang.String fromFormat,
java.lang.String toFormat)
Convert the Distinguished Name (DN) of an eDirectory object
from one format to another.
|
java.lang.String convert(java.lang.String srcDN, java.lang.String fromFormat, java.lang.String toFormat)
Valid values for parameters fromFormat and toFormat are:
If an invalid format parameter value is passed to this method the input DN is returned unchanged. If name qualification information is needed and cannot be obtained then the input DN is returned unchanged.
srcDN
- The DN to convertfromFormat
- The format of the DN argumenttoFormat
- The output format from the method.