org.jboss.util.propertyeditor
Class ElementEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.util.propertyeditor.DocumentEditor
          extended by org.jboss.util.propertyeditor.ElementEditor
All Implemented Interfaces:
PropertyEditor

public class ElementEditor
extends DocumentEditor

A property editor for Element.

Version:
$Revision: 1.2.6.2 $
Author:
Elias Ross

Constructor Summary
ElementEditor()
           
 
Method Summary
 void setAsText(String text)
          Sets as an Element created by a String.
 
Methods inherited from class org.jboss.util.propertyeditor.DocumentEditor
getAsDocument, getAsText
 
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

ElementEditor

public ElementEditor()
Method Detail

setAsText

public void setAsText(String text)
Sets as an Element created by a String.

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class DocumentEditor
Throws:
NestedRuntimeException - A parse exception occured


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.