|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.transcoder.TranscoderInput
public class TranscoderInput
This class represents a generic input of a Transcoder.
Field Summary | |
---|---|
protected org.w3c.dom.Document |
document
The optional input as XML Document. |
protected java.io.InputStream |
istream
The optional input has a byte stream. |
protected java.io.Reader |
reader
The optional input as a character stream. |
protected java.lang.String |
uri
The optional input as a URI. |
protected org.xml.sax.XMLReader |
xmlReader
The optional XML reader to receive SAX events. |
Constructor Summary | |
---|---|
TranscoderInput()
Constructs a new empty TranscoderInput. |
|
TranscoderInput(org.w3c.dom.Document document)
Constructs a new TranscoderInput with the specified Document. |
|
TranscoderInput(java.io.InputStream istream)
Constructs a new TranscoderInput with the specified byte stream input. |
|
TranscoderInput(java.io.Reader reader)
Constructs a new TranscoderInput with the specified character stream. |
|
TranscoderInput(java.lang.String uri)
Constructs a new TranscoderInput with the specified uri. |
|
TranscoderInput(org.xml.sax.XMLReader xmlReader)
Constructs a new TranscoderInput with the specified XML reader. |
Method Summary | |
---|---|
org.w3c.dom.Document |
getDocument()
Returns the input of this transcoder as a document or null if none was supplied. |
java.io.InputStream |
getInputStream()
Returns the input of this transcoder as a byte stream or null if none was supplied. |
java.io.Reader |
getReader()
Returns the input of this transcoder as a character stream or null if none was supplied. |
java.lang.String |
getURI()
Returns the input of this transcoder as a URI or null if none was supplied. |
org.xml.sax.XMLReader |
getXMLReader()
Returns the XML reader of this transcoder or null if none was supplied. |
void |
setDocument(org.w3c.dom.Document document)
Sets the input of this transcoder input with the specified document. |
void |
setInputStream(java.io.InputStream istream)
Sets the input of this transcoder input with the specified byte stream. |
void |
setReader(java.io.Reader reader)
Sets the input of this transcoder input with the specified character stream. |
void |
setURI(java.lang.String uri)
Sets the input of this transcoder input with the specified URI. |
void |
setXMLReader(org.xml.sax.XMLReader xmlReader)
Sets the input of this transcoder input with the specified XML reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.xml.sax.XMLReader xmlReader
protected java.io.InputStream istream
protected java.io.Reader reader
protected org.w3c.dom.Document document
protected java.lang.String uri
Constructor Detail |
---|
public TranscoderInput()
public TranscoderInput(org.xml.sax.XMLReader xmlReader)
xmlReader
- the XML reader of this transcoder inputpublic TranscoderInput(java.io.InputStream istream)
istream
- the byte stream of this transcoder inputpublic TranscoderInput(java.io.Reader reader)
reader
- the character stream of this transcoder inputpublic TranscoderInput(org.w3c.dom.Document document)
document
- the Document of this transcoder inputpublic TranscoderInput(java.lang.String uri)
uri
- the URI of this transcoder inputMethod Detail |
---|
public void setXMLReader(org.xml.sax.XMLReader xmlReader)
xmlReader
- the XML reader of this transcoder inputpublic org.xml.sax.XMLReader getXMLReader()
public void setInputStream(java.io.InputStream istream)
istream
- the byte stream of this transcoder inputpublic java.io.InputStream getInputStream()
public void setReader(java.io.Reader reader)
reader
- the character stream of this transcoder inputpublic java.io.Reader getReader()
public void setDocument(org.w3c.dom.Document document)
document
- the document of this transcoder inputpublic org.w3c.dom.Document getDocument()
public void setURI(java.lang.String uri)
uri
- the URI of this transcoder inputpublic java.lang.String getURI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |