spring-framework / org.springframework.beans.propertyeditors / InputSourceEditor

InputSourceEditor

open class InputSourceEditor : PropertyEditorSupport

Editor for org.xml.sax.InputSource, converting from a Spring resource location String to a SAX InputSource object.

Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL.

Author
Juergen Hoeller

Since
3.0.3

See Also
org.xml.sax.InputSourceorg.springframework.core.io.ResourceEditororg.springframework.core.io.ResourceLoaderURLEditorFileEditor

Constructors

<init>

InputSourceEditor()

Create a new InputSourceEditor, using the default ResourceEditor underneath.

InputSourceEditor(resourceEditor: ResourceEditor)

Create a new InputSourceEditor, using the given ResourceEditor underneath.

Functions

getAsText

open fun getAsText(): String

setAsText

open fun setAsText(text: String): Unit