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 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.- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.beans.PropertyEditorSupportaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
- 
Constructor Details- 
QNameEditorpublic QNameEditor()
 
- 
- 
Method Details- 
setAsText- Specified by:
- setAsTextin interface- PropertyEditor
- Overrides:
- setAsTextin class- PropertyEditorSupport
- Throws:
- IllegalArgumentException
 
- 
getAsText- Specified by:
- getAsTextin interface- PropertyEditor
- Overrides:
- getAsTextin class- PropertyEditorSupport
 
 
-