Class InputSourceEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.InputSourceEditor
- All Implemented Interfaces:
- PropertyEditor
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.
- Since:
- 3.0.3
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new InputSourceEditor, using the default ResourceEditor underneath.InputSourceEditor(ResourceEditor resourceEditor) Create a new InputSourceEditor, using the given ResourceEditor underneath.
- 
Method SummaryMethods inherited from class java.beans.PropertyEditorSupportaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
- 
Constructor Details- 
InputSourceEditorpublic InputSourceEditor()Create a new InputSourceEditor, using the default ResourceEditor underneath.
- 
InputSourceEditorCreate a new InputSourceEditor, using the given ResourceEditor underneath.- Parameters:
- resourceEditor- the ResourceEditor to use
 
 
- 
- 
Method Details- 
setAsText- Specified by:
- setAsTextin interface- PropertyEditor
- Overrides:
- setAsTextin class- PropertyEditorSupport
- Throws:
- IllegalArgumentException
 
- 
getAsText- Specified by:
- getAsTextin interface- PropertyEditor
- Overrides:
- getAsTextin class- PropertyEditorSupport
 
 
-