Source that represents an XMLInputSource.
Ideally, we should be able to have XMLInputSource
derive from Source, but the way
the XMLInputSource#getSystemId() method works is
different from the way Source#getSystemId() method works.
In a long run, we should make them consistent so that we can get rid of this awkward adaptor class.
| Modifier and Type | Field and Description |
|---|---|
| public final XMLInputSource | fSource
the actual source information. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getSystemId()
Implements javax. Get the system identifier that was set with setSystemId. |
| public void | setSystemId(String systemId)
Implements javax. Set the system identifier for this Source. |
| fSource | back to summary |
|---|---|
| public final XMLInputSource fSource the actual source information. | |
| XMLInputSourceAdaptor | back to summary |
|---|---|
| public XMLInputSourceAdaptor(XMLInputSource core) | |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. Doc from javax. Get the system identifier that was set with setSystemId. | |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String systemId) Implements javax. Doc from javax. Set the system identifier for this Source. The system identifier is optional if the source does not get its data from a URL, but it may still be useful to provide one. The application can use a system identifier, for example, to resolve relative URIs and to include in error messages and warnings. | |