All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ldaptive.schema.io.AbstractSchemaElementValueTranscoder Maven / Gradle / Ivy

There is a newer version: 2.3.2
Show newest version
/*
  $Id: AbstractSchemaElementValueTranscoder.java 2994 2014-06-03 19:00:45Z dfisher $

  Copyright (C) 2003-2014 Virginia Tech.
  All rights reserved.

  SEE LICENSE FOR MORE INFORMATION

  Author:  Middleware Services
  Email:   [email protected]
  Version: $Revision: 2994 $
  Updated: $Date: 2014-06-03 15:00:45 -0400 (Tue, 03 Jun 2014) $
*/
package org.ldaptive.schema.io;

import org.ldaptive.io.AbstractStringValueTranscoder;
import org.ldaptive.schema.SchemaElement;

/**
 * Base class for schema element value transcoders.
 *
 * @param    type of schema element
 *
 * @author  Middleware Services
 * @version  $Revision: 2994 $ $Date: 2014-06-03 15:00:45 -0400 (Tue, 03 Jun 2014) $
 */
public abstract class
AbstractSchemaElementValueTranscoder
  extends AbstractStringValueTranscoder
{


  /** {@inheritDoc} */
  @Override
  public String encodeStringValue(final T value)
  {
    return value.format();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy