public abstract class

SaxResourceUtils

extends Object
java.lang.Object
   ↳ org.springframework.oxm.support.SaxResourceUtils

Class Overview

Convenient utility methods for dealing with SAX.

Summary

Public Constructors
SaxResourceUtils()
Public Methods
static InputSource createInputSource(Resource resource)
Create a SAX InputSource from the given resource.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SaxResourceUtils ()

Public Methods

public static InputSource createInputSource (Resource resource)

Create a SAX InputSource from 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