Package org.springframework.oxm.support
Class SaxResourceUtils
java.lang.Object
org.springframework.oxm.support.SaxResourceUtils
Convenient utility methods for dealing with SAX.
- Since:
 - 3.0
 - Author:
 - Arjen Poutsma, Juergen Hoeller
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic InputSourcecreateInputSource(Resource resource) Create a SAXInputSourcefrom the given resource. 
- 
Constructor Details
- 
SaxResourceUtils
public SaxResourceUtils() 
 - 
 - 
Method Details
- 
createInputSource
Create a SAXInputSourcefrom the given resource.Sets the system identifier to the resource's
URL, if available.- Parameters:
 resource- the resource- Returns:
 - the input source created from the resource
 - Throws:
 IOException- if an I/O exception occurs- See Also:
 - 
InputSource.setSystemId(String)getSystemId(org.springframework.core.io.Resource)
 
 
 -