org.apache.directory.shared.ldap.util
Class LdapURL.Extension

java.lang.Object
  extended by org.apache.directory.shared.ldap.util.LdapURL.Extension
Enclosing class:
LdapURL

public static class LdapURL.Extension
extends java.lang.Object

An inner bean to hold extension information.

Version:
$Rev: 923455 $, $Date: 2010-03-15 22:59:28 +0100 (Mon, 15 Mar 2010) $
Author:
Apache Directory Project

Constructor Summary
LdapURL.Extension(boolean isCritical, java.lang.String type, java.lang.String value)
          Creates a new instance of Extension.
 
Method Summary
 java.lang.String getType()
          Gets the type.
 java.lang.String getValue()
          Gets the value.
 boolean isCritical()
          Checks if is critical.
 void setCritical(boolean isCritical)
          Sets the critical.
 void setType(java.lang.String type)
          Sets the type.
 void setValue(java.lang.String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapURL.Extension

public LdapURL.Extension(boolean isCritical,
                         java.lang.String type,
                         java.lang.String value)
Creates a new instance of Extension.

Parameters:
isCritical - true for critical extension
type - the extension type
value - the extension value
Method Detail

isCritical

public boolean isCritical()
Checks if is critical.

Returns:
true, if is critical

setCritical

public void setCritical(boolean isCritical)
Sets the critical.

Parameters:
isCritical - the new critical

getType

public java.lang.String getType()
Gets the type.

Returns:
the type

setType

public void setType(java.lang.String type)
Sets the type.

Parameters:
type - the new type

getValue

public java.lang.String getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the new value


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.