NAME

Gtk2::Net::LDAP::Widgets::DistinguishedName - helper class for DN processing

SYNOPSIS

This class is mostly used by other components to analyze and process LDAP 
Distinguished Names and isn't meant to be used directly. Read the source in 
case of any needs to do that.

isDescendant

isDescendant ( possible_ancestor )

Checks whether this DN is a child of another DN (possible_ancestor).

possible_ancestor a distinguished name being tested for ancestorness in relation to current DN :)

getRdn

getRdn ( possible_ancestor )

Returns the RDN of this DN in relation to a potential ancestor's DN ( the possible_ancestor argument). If the possible_ancestor isn't an ancestor in fact, the returned RDN will be empty.

possible_ancestor a distinguished name of potential ancestor

getLength

getLength ( )

Returns the count of RDN components that this DN consists of.

compareTo

compareTo ( )

Compares this DN and another DN using normalized forms of both. Return values meanings are the same as with the "eq" Perl operator.

SEE ALSO

Gtk2::Net::LDAP::Widgets Gtk2 Net::LDAP

AUTHOR

Aleksander Adamowski, <cpan@olo.org.pl>

COPYRIGHT AND LICENSE

Copyright 2005,2008 by Aleksander Adamowski

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.