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


Gtk2-Net-LDAP-Widgets documentation  | view source Contained in the Gtk2-Net-LDAP-Widgets distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


Gtk2-Net-LDAP-Widgets documentation  | view source Contained in the Gtk2-Net-LDAP-Widgets distribution.