Class QNameEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.xml.namespace.QNameEditor
- All Implemented Interfaces:
PropertyEditor
PropertyEditor for
javax.xml.namespace.QName, to populate a property of type
QName from a String value.
Expects one of the following syntaxes:
localPart{namespace}localPart{namespace}prefix:localPart
toString() representation of QName itself, but
allows for prefixes to be specified as well.- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
QNameEditor
public QNameEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
getAsText
- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classPropertyEditorSupport
-