com.novell.ldap.rfc2251
Class RfcSearchResultEntry
java.lang.Object
com.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Structured
com.novell.ldap.asn1.ASN1Sequence
com.novell.ldap.rfc2251.RfcSearchResultEntry
- All Implemented Interfaces:
- java.io.Serializable
public class RfcSearchResultEntry
- extends ASN1Sequence
Represents an LDAP Search Result Entry.
SearchResultEntry ::= [APPLICATION 4] SEQUENCE {
objectName LDAPDN,
attributes PartialAttributeList }
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RfcSearchResultEntry
public RfcSearchResultEntry(ASN1Decoder dec,
java.io.InputStream in,
int len)
throws java.io.IOException
- The only time a client will create a SearchResultEntry is when it is
decoding it from an InputStream
- Throws:
java.io.IOException
RfcSearchResultEntry
public RfcSearchResultEntry(ASN1OctetString ObjectName,
ASN1Sequence attributes)
- Creates an RfcSearchResultEntry from individual ASN encoded objects.
- Parameters:
ObjectName
- The LDAPDN for the search result.attributes
- The various attributes for the specified attribute.
getObjectName
public final ASN1OctetString getObjectName()
getAttributes
public final ASN1Sequence getAttributes()
getIdentifier
public final ASN1Identifier getIdentifier()
- Override getIdentifier to return an application-wide id.
- Overrides:
getIdentifier
in class ASN1Object
Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000