C# Class Novell.Directory.Ldap.Rfc2251.RfcFilter.FilterTokenizer

This inner class will tokenize the components of an RFC 2254 search filter.
Datei anzeigen Open project: EventStore/csharp-ldap

Public Methods

Method Description
FilterTokenizer ( RfcFilter enclosingInstance, System filter ) : System

Constructs a FilterTokenizer for a filter.

getLeftParen ( ) : void

Reads the current char and throws an Exception if it is not a left parenthesis.

getRightParen ( ) : void

Reads the current char and throws an Exception if it is not a right parenthesis.

peekChar ( ) : char

Return the current char without advancing the offset pointer. This is used by ParseFilterList when determining if there are any more Filters in the list.

Private Methods

Method Description
InitBlock ( RfcFilter enclosingInstance ) : void

Method Details

FilterTokenizer() public method

Constructs a FilterTokenizer for a filter.
public FilterTokenizer ( RfcFilter enclosingInstance, System filter ) : System
enclosingInstance RfcFilter
filter System
return System

getLeftParen() public method

Reads the current char and throws an Exception if it is not a left parenthesis.
public getLeftParen ( ) : void
return void

getRightParen() public method

Reads the current char and throws an Exception if it is not a right parenthesis.
public getRightParen ( ) : void
return void

peekChar() public method

Return the current char without advancing the offset pointer. This is used by ParseFilterList when determining if there are any more Filters in the list.
public peekChar ( ) : char
return char