Constructor and Description |
---|
ResourceSource(org.springframework.core.io.Resource content)
Initializes a new instance of the
ResourceSource with the given resource. |
ResourceSource(XMLReader reader,
org.springframework.core.io.Resource content)
Initializes a new instance of the
ResourceSource with the given XMLReader and resource. |
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSource
public ResourceSource(org.springframework.core.io.Resource content) throws IOException
ResourceSource
with the given resource.content
- the contentIOException
public ResourceSource(XMLReader reader, org.springframework.core.io.Resource content) throws IOException
ResourceSource
with the given XMLReader
and resource.content
- the contentIOException