Class ResourceSource
java.lang.Object
javax.xml.transform.sax.SAXSource
org.springframework.xml.transform.ResourceSource
- All Implemented Interfaces:
Source
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionResourceSource(org.springframework.core.io.Resource content) Initializes a new instance of theResourceSourcewith the given resource.ResourceSource(XMLReader reader, org.springframework.core.io.Resource content) Initializes a new instance of theResourceSourcewith the givenXMLReaderand resource. -
Method Summary
Methods inherited from class SAXSource
getInputSource, getSystemId, getXMLReader, isEmpty, setInputSource, setSystemId, setXMLReader, sourceToInputSource
-
Constructor Details
-
ResourceSource
Initializes a new instance of theResourceSourcewith the given resource.- Parameters:
content- the content- Throws:
IOException
-
ResourceSource
public ResourceSource(XMLReader reader, org.springframework.core.io.Resource content) throws IOException Initializes a new instance of theResourceSourcewith the givenXMLReaderand resource.- Parameters:
content- the content- Throws:
IOException
-