org.apache.directory.shared.ldap.codec
Class TwixProvider

java.lang.Object
  extended byorg.apache.directory.shared.ldap.message.spi.Provider
      extended byorg.apache.directory.shared.ldap.codec.TwixProvider

public class TwixProvider
extends Provider

The Twix specific BER provider for LDAP.

Author:
Apache Directory Project $Rev: 379008 $

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.message.spi.Provider
BERLIB_PROPFILE, BERLIB_PROVIDER, DEFAULT_PROVIDER, PROVIDER_MONITOR_KEY, USING_DEFAULTS_MSG
 
Method Summary
 ProviderDecoder getDecoder(java.util.Set binaries)
          Gets the decoder associated with this provider.
 ProviderEncoder getEncoder()
          Gets the encoder associated with this provider.
static Provider getProvider()
          Gets a handle on the singleton TwixProvider.
 TransformerSpi getTransformer()
          Gets the transformer associated with this provider.
 
Methods inherited from class org.apache.directory.shared.ldap.message.spi.Provider
getEnvironment, getName, getProvider, getVendor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProvider

public static Provider getProvider()
Gets a handle on the singleton TwixProvider. Only one instance should have to be instantiated for the entire jvm.

Returns:
the singleton SnaccProvider instance

getEncoder

public ProviderEncoder getEncoder()
                           throws ProviderException
Gets the encoder associated with this provider.

Specified by:
getEncoder in class Provider
Returns:
the provider's encoder.
Throws:
ProviderException - if the provider or its encoder cannot be found

getDecoder

public ProviderDecoder getDecoder(java.util.Set binaries)
                           throws ProviderException
Gets the decoder associated with this provider.

Specified by:
getDecoder in class Provider
Returns:
the provider's decoder.
Throws:
ProviderException - if the provider or its decoder cannot be found

getTransformer

public TransformerSpi getTransformer()
                              throws ProviderException
Gets the transformer associated with this provider.

Specified by:
getTransformer in class Provider
Returns:
the provider's transformer.
Throws:
ProviderException - if the provider or its transformer cannot be found


Copyright © 2003-2006 . All Rights Reserved.