mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
20.42.2016 61b9eb1be03fc03a9f4bb0013a08ff44a1059503
opendj-server-legacy/src/main/java/org/opends/server/api/ProtocolElement.java
@@ -12,12 +12,10 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2006-2008 Sun Microsystems, Inc.
 * Portions Copyright 2015 ForgeRock AS.
 * Portions Copyright 2015-2016 ForgeRock AS.
 */
package org.opends.server.api;
/**
 * This interface defines a set of methods that must be implemented by
 * any class that forms the basis for a protocol element (e.g., an
@@ -25,31 +23,17 @@
 */
@org.opends.server.types.PublicAPI(
     stability=org.opends.server.types.StabilityLevel.VOLATILE,
     mayInstantiate=false,
     mayExtend=true,
     mayInvoke=true)
public interface ProtocolElement
{
  /**
   * Retrieves the name of the protocol associated with this protocol
   * element.
   * Retrieves the name of the protocol associated with this protocol element.
   *
   * @return  The name of the protocol associated with this protocol
   *          element.
   * @return  The name of the protocol associated with this protocol element.
   */
  String getProtocolElementName();
  /**
   * Retrieves a string representation of this protocol element.
   *
   * @return  A string representation of this protocol element.
   */
  String toString();
  /**
   * Appends a string representation of this protocol element to the
   * provided buffer.
@@ -59,8 +43,6 @@
   */
  void toString(StringBuilder buffer);
  /**
   * Appends a string representation of this protocol element to the
   * provided buffer.
@@ -72,4 +54,3 @@
   */
  void toString(StringBuilder buffer, int indent);
}