|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNConverter
Interface for converting eDirectory object DNs from one format to another. This is designed to be used only in stylesheet rules, which are passed a stylesheet parameter that is an implementation by the DirXML engine of this interface.
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.
Method Summary | |
---|---|
String |
convert(String srcDN,
String fromFormat,
String toFormat)
Convert the Distinguished Name (DN) of an eDirectory object from one format to another. |
Method Detail |
---|
String convert(String srcDN, String fromFormat, 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |