public class QNameEditor extends PropertyEditorSupport
javax.xml.namespace.QName, to populate a property of type QName from a String value.
Expects the syntax
localPartor
{namespace}localPart
or
{namespace}prefix:localPart
This resembles the toString() representation of QName itself, but allows for prefixes to be
specified as well.QName,
QName.toString(),
QName.valueOf(String)| Constructor and Description |
|---|
QNameEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportCopyright © 2020 Pivotal Software. All rights reserved.