org.jboss.common.beans.property
Class ElementEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.jboss.common.beans.property.PropertyEditorSupport<T>
org.jboss.common.beans.property.XMLEditorSupport<Element>
org.jboss.common.beans.property.ElementEditor
- All Implemented Interfaces:
- PropertyEditor
public class ElementEditor
- extends XMLEditorSupport<Element>
A property editor for Element.
- Author:
- Elias Ross
|
Method Summary |
void |
setAsText(String text)
Sets as an Document created from a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementEditor
public ElementEditor()
setAsText
public void setAsText(String text)
- Sets as an Document created from a String.
- Specified by:
setAsText in interface PropertyEditor- Specified by:
setAsText in class PropertyEditorSupport<Element>
- Parameters:
text - The string to be parsed.
- Throws:
IllegalArgumentException - A parse exception occured
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.