All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcSearchResultEntry

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1Structured
          extended by com.novell.ldap.asn1.ASN1Sequence
              extended by 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

Field Summary
 
Fields inherited from class com.novell.ldap.asn1.ASN1Sequence
TAG
 
Constructor Summary
RfcSearchResultEntry(ASN1Decoder dec, java.io.InputStream in, int len)
          The only time a client will create a SearchResultEntry is when it is decoding it from an InputStream
RfcSearchResultEntry(ASN1OctetString ObjectName, ASN1Sequence attributes)
          Creates an RfcSearchResultEntry from individual ASN encoded objects.
 
Method Summary
 ASN1Sequence getAttributes()
           
 ASN1Identifier getIdentifier()
          Override getIdentifier to return an application-wide id.
 ASN1OctetString getObjectName()
           
 
Methods inherited from class com.novell.ldap.asn1.ASN1Sequence
toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Structured
add, decodeStructured, encode, get, set, size, toArray, toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Object
getEncoding, setIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000