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(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(ResourceEditor resourceEditor)
resourceEditor
- the ResourceEditor to usepublic void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport