Class XMLEditorSupport<T>

    • Constructor Detail

      • XMLEditorSupport

        public XMLEditorSupport​(java.lang.Class<T> type)
        Parameters:
        type -
    • Method Detail

      • getAsText

        public java.lang.String getAsText()
        Returns the property as a String.
        Specified by:
        getAsText in interface java.beans.PropertyEditor
        Specified by:
        getAsText in interface PropertyEditor<T>
        Overrides:
        getAsText in class PropertyEditorSupport<T>
        Returns:
        The property value as a human editable string.

        Returns null if the value can't be expressed as an editable string.

        If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().

      • getAsDocument

        protected org.w3c.dom.Document getAsDocument​(java.lang.String text)