|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.transform.sax.SAXSource
org.springframework.xml.transform.ResourceSource
public class ResourceSource
Convenient subclass of SAXSource that reads from a Spring Resource. The resource to be read can be
set via the constructor.
| Field Summary |
|---|
| Fields inherited from class javax.xml.transform.sax.SAXSource |
|---|
FEATURE |
| Constructor Summary | |
|---|---|
ResourceSource(org.springframework.core.io.Resource content)
Initializes a new instance of the ResourceSource with the given resource. |
|
ResourceSource(org.xml.sax.XMLReader reader,
org.springframework.core.io.Resource content)
Initializes a new instance of the ResourceSource with the given XMLReader and resource. |
|
| Method Summary |
|---|
| Methods inherited from class javax.xml.transform.sax.SAXSource |
|---|
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceSource(org.springframework.core.io.Resource content)
throws java.io.IOException
ResourceSource with the given resource.
content - the content
java.io.IOException
public ResourceSource(org.xml.sax.XMLReader reader,
org.springframework.core.io.Resource content)
throws java.io.IOException
ResourceSource with the given XMLReader and resource.
content - the content
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||