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