Class DocumentEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor, PropertyEditor<org.w3c.dom.Document>

    public class DocumentEditor
    extends XMLEditorSupport<org.w3c.dom.Document>
    A property editor for Document.
    • Constructor Detail

      • DocumentEditor

        public DocumentEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Sets as an Document created from a String.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Specified by:
        setAsText in interface PropertyEditor<org.w3c.dom.Document>
        Specified by:
        setAsText in class PropertyEditorSupport<org.w3c.dom.Document>
        Parameters:
        text - The string to be parsed.
        Throws:
        java.lang.IllegalArgumentException - A parse exception occured