|
||||||||||
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.entry.ServerEntryPropertyEditor
public class ServerEntryPropertyEditor
A JavaBeans PropertyEditor
that can convert ServerEntry
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 | |
---|---|
ServerEntryPropertyEditor()
Creates a new instance. |
|
ServerEntryPropertyEditor(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 ServerEntryPropertyEditor()
public ServerEntryPropertyEditor(java.lang.Object source)
Method Detail |
---|
public java.lang.String getAsText()
Attributes
object.
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
Attributes
.
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |