public class InputSourceEditor
extends java.beans.PropertyEditorSupport
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.
InputSource,
ResourceEditor,
ResourceLoader,
URLEditor,
FileEditor| Constructor and Description |
|---|
InputSourceEditor()
Create a new InputSourceEditor,
using the default ResourceEditor underneath.
|
InputSourceEditor(org.springframework.core.io.ResourceEditor resourceEditor)
Create a new InputSourceEditor,
using the given ResourceEditor underneath.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAsText() |
void |
setAsText(java.lang.String text) |
public InputSourceEditor()
public InputSourceEditor(org.springframework.core.io.ResourceEditor resourceEditor)
resourceEditor - the ResourceEditor to usepublic void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportjava.lang.IllegalArgumentExceptionpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupport