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 one of the following syntaxes:

  • localPart
  • {namespace}localPart
  • {namespace}prefix:localPart
This resembles the toString() representation of QName itself, but allows for prefixes to be specified as well.
Since:
1.0.0
See Also: