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}localPartor
{namespace}prefix:localPartThis 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, supportsCustomEditor
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
Copyright © 2020 Pivotal Software. All rights reserved.