|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.apache.directory.server.core.configuration.AttributesPropertyEditor
public class AttributesPropertyEditor
A JavaBeans PropertyEditor that can convert Attributes to
LDIF string and vice versa. This class is useful when you're going to
configure a DirectoryService with 3rd party containers such as Spring Framework.
| Constructor Summary | |
|---|---|
AttributesPropertyEditor()
Creates a new instance. |
|
AttributesPropertyEditor(java.lang.Object source)
Creates a new instance with source object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAsText()
Returns LDIF string of Attributes object. |
void |
setAsText(java.lang.String text)
Converts the specified LDIF string into Attributes. |
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributesPropertyEditor()
public AttributesPropertyEditor(java.lang.Object source)
| Method Detail |
|---|
public java.lang.String getAsText()
Attributes object.
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
Attributes.
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportjava.lang.IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||