Class QNameEditor

java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.xml.namespace.QNameEditor
All Implemented Interfaces:
PropertyEditor

public class QNameEditor extends PropertyEditorSupport
PropertyEditor for javax.xml.namespace.QName, to populate a property of type QName from a String value.

Expects the syntax

 localPart
 
or
 {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: