Package org.smooks.io
Class DocumentInputSource
- java.lang.Object
-
- org.xml.sax.InputSource
-
- org.smooks.io.DocumentInputSource
-
public class DocumentInputSource extends InputSource
-
-
Constructor Summary
Constructors Constructor Description DocumentInputSource()
DocumentInputSource(InputStream byteStream)
DocumentInputSource(Reader characterStream)
DocumentInputSource(String systemId)
DocumentInputSource(Document document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getByteStream()
Reader
getCharacterStream()
Document
getDocument()
void
setByteStream(InputStream byteStream)
void
setCharacterStream(Reader characterStream)
void
setEncoding(String encoding)
void
setPublicId(String publicId)
void
setSystemId(String systemId)
-
Methods inherited from class org.xml.sax.InputSource
getEncoding, getPublicId, getSystemId
-
-
-
-
Constructor Detail
-
DocumentInputSource
public DocumentInputSource(Document document)
-
DocumentInputSource
public DocumentInputSource()
-
DocumentInputSource
public DocumentInputSource(String systemId)
-
DocumentInputSource
public DocumentInputSource(InputStream byteStream)
-
DocumentInputSource
public DocumentInputSource(Reader characterStream)
-
-
Method Detail
-
setPublicId
public void setPublicId(String publicId)
- Overrides:
setPublicId
in classInputSource
-
setSystemId
public void setSystemId(String systemId)
- Overrides:
setSystemId
in classInputSource
-
setByteStream
public void setByteStream(InputStream byteStream)
- Overrides:
setByteStream
in classInputSource
-
getByteStream
public InputStream getByteStream()
- Overrides:
getByteStream
in classInputSource
-
setEncoding
public void setEncoding(String encoding)
- Overrides:
setEncoding
in classInputSource
-
setCharacterStream
public void setCharacterStream(Reader characterStream)
- Overrides:
setCharacterStream
in classInputSource
-
getCharacterStream
public Reader getCharacterStream()
- Overrides:
getCharacterStream
in classInputSource
-
getDocument
public Document getDocument()
-
-