Package org.teiid.core.types
Class InputStreamFactory.SQLXMLInputStreamFactory
- java.lang.Object
-
- org.teiid.core.types.InputStreamFactory
-
- org.teiid.core.types.InputStreamFactory.SQLXMLInputStreamFactory
-
- All Implemented Interfaces:
DataSource
,Source
- Enclosing class:
- InputStreamFactory
public static class InputStreamFactory.SQLXMLInputStreamFactory extends InputStreamFactory implements DataSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.core.types.InputStreamFactory
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReference
-
-
Field Summary
Fields Modifier and Type Field Description protected SQLXML
sqlxml
-
Fields inherited from class org.teiid.core.types.InputStreamFactory
length
-
-
Constructor Summary
Constructors Constructor Description SQLXMLInputStreamFactory(SQLXML sqlxml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reader
getCharacterStream()
String
getContentType()
InputStream
getInputStream()
Get a new InputStreamString
getName()
OutputStream
getOutputStream()
InputStreamFactory.StorageMode
getStorageMode()
-
Methods inherited from class org.teiid.core.types.InputStreamFactory
free, getLength, getStorageMode, getSystemId, setLength, setSystemId, setTemporary, setTemporary
-
-
-
-
Field Detail
-
sqlxml
protected SQLXML sqlxml
-
-
Constructor Detail
-
SQLXMLInputStreamFactory
public SQLXMLInputStreamFactory(SQLXML sqlxml)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
Description copied from class:InputStreamFactory
Get a new InputStream- Specified by:
getInputStream
in interfaceDataSource
- Specified by:
getInputStream
in classInputStreamFactory
- Throws:
IOException
-
getCharacterStream
public Reader getCharacterStream() throws IOException
- Overrides:
getCharacterStream
in classInputStreamFactory
- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceDataSource
-
getName
public String getName()
- Specified by:
getName
in interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
getStorageMode
public InputStreamFactory.StorageMode getStorageMode()
- Overrides:
getStorageMode
in classInputStreamFactory
-
-