public class InputSourceEditor extends 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 |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic InputSourceEditor()
public InputSourceEditor(org.springframework.core.io.ResourceEditor resourceEditor)
resourceEditor - the ResourceEditor to usepublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport