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.
org.xml.sax.InputSource , org.springframework.core.io.ResourceEditor , org.springframework.core.io.ResourceLoader , URLEditor, FileEditor
| Modifier and Type | Field and Description |
|---|---|
| private final ResourceEditor |
| Access | Constructor and Description |
|---|---|
| public | |
| public | InputSourceEditor(ResourceEditor
the ResourceEditor to use resourceEditor)Create a new InputSourceEditor, using the given ResourceEditor underneath. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAsText()
Overrides java. Implements java. Gets the property value as a string suitable for presentation to a human to edit. |
| public void | setAsText(String
The string to be parsed. text)Overrides java. Implements java. Sets the property value by parsing a given String. |
| resourceEditor | back to summary |
|---|---|
| private final ResourceEditor resourceEditor | |
| InputSourceEditor | back to summary |
|---|---|
| public InputSourceEditor() Create a new InputSourceEditor, using the default ResourceEditor underneath. | |
| InputSourceEditor | back to summary |
|---|---|
| public InputSourceEditor(ResourceEditor resourceEditor) Create a new InputSourceEditor, using the given ResourceEditor underneath.
| |
| getAsText | back to summary |
|---|---|
| public String getAsText() Overrides java. Implements java. Doc from java. Gets the property value as a string suitable for presentation to a human to edit. | |
| setAsText | back to summary |
|---|---|
| public void setAsText(String text) throws IllegalArgumentException Overrides java. Implements java. Doc from java. Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text. | |