|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.xml.sax.InputSource
|
+--com.ddtek.jxtr.JXTRSaxInputSource
JXTRSaxInputSource extends the SAX2 InputSource interface and
typically is used with a JXTRSaxReader object.
More information about SAX2 can be found in most XML books or can be obtained from SAX 2.0: The Simple API for XML.
JXTRSaxInputSource extends the standard SAX2 InputSource with the following methods.
JXTRSaxInputSource(com.ddtek.jxtr.JXTRQueryBase)getJXTRQuery()setJXTRQuery(com.ddtek.jxtr.JXTRQueryBase)JXTRSaxInputSource(com.ddtek.jxtr.JXTRColInfo)getJXTRColInfo()setJXTRColInfo(com.ddtek.jxtr.JXTRColInfo)
| Constructor Summary | |
JXTRSaxInputSource()
Default constructor. |
|
JXTRSaxInputSource(java.io.InputStream byteStream)
Creates a JXTRSaxInputSource based on the specified input stream. |
|
JXTRSaxInputSource(JXTRColInfo jxtrColInfo)
Creates a JXTRSaxInputSource based on the specified JXTRColInfo object. |
|
JXTRSaxInputSource(JXTRQueryBase jxtrQ)
Creates a JXTRSaxInputSource based on the specified JXTRQueryBase object. |
|
JXTRSaxInputSource(java.io.Reader characterStream)
Creates a JXTRSaxInputSource based on the specified Reader. |
|
JXTRSaxInputSource(java.lang.String systemId)
Creates a JXTRSaxInputSource based on the specified System ID. |
|
| Method Summary | |
java.io.InputStream |
getByteStream()
Gets the byte stream for this input source. |
java.io.Reader |
getCharacterStream()
Gets the character stream for this input source. |
java.lang.String |
getEncoding()
Gets the encoding for this input source. |
JXTRColInfo |
getJXTRColInfo()
Gets the JXTRColInfo object for this input source. |
JXTRQueryBase |
getJXTRQuery()
Gets the JXTRQuery object (JXTRQuery or JXTRResultSetWrapper) for this input source. |
java.lang.String |
getPublicId()
Gets the public ID for this input source. |
java.lang.String |
getSystemId()
Gets the System ID for this input source. |
void |
setByteStream(java.io.InputStream byteStream)
Sets the input stream for this input source. |
void |
setCharacterStream(java.io.Reader characterStream)
Sets the Reader for this input source. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding for this input source. |
void |
setJXTRColInfo(JXTRColInfo jxtrColInfo)
Sets the JXTRColInfo object for this input source. |
void |
setJXTRQuery(JXTRQueryBase jxtrQ)
Sets the JXTRQuery object (JXTRQuery or JXTRResultSetWrapper) for this input source. |
void |
setPublicId(java.lang.String publicId)
Sets the public ID for this input source. |
void |
setSystemId(java.lang.String systemId)
Sets the System ID for this input source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JXTRSaxInputSource()
public JXTRSaxInputSource(java.io.InputStream byteStream)
JXTRSaxReader object,
the specified input stream object is ignored.
byteStream - Input stream containing the XML to parse.public JXTRSaxInputSource(java.io.Reader characterStream)
JXTRSaxReader object,
the specified Reader object is ignored.
characterStream - Reader containing the XML to parse.public JXTRSaxInputSource(java.lang.String systemId)
JXTRSaxReader object,
the specified System ID is ignored.
systemId - System ID referring to the XML to parse.public JXTRSaxInputSource(JXTRQueryBase jxtrQ)
JXTRQueryBase object. When using this method with a
JXTRSaxReader object, this constructor must be specified or
setJXTRQuery(com.ddtek.jxtr.JXTRQueryBase) must be invoked
after constructing the JXTRSaxInputSource object using the default
constructor JXTRSaxInputSource().
jxtrQ - jXTransformer query object whose results will trigger
the invocation of the SAX2 callbacks as they are registered with
the JXTRSaxReader.public JXTRSaxInputSource(JXTRColInfo jxtrColInfo)
JXTRColInfo object. When using this method with a
JXTRSaxReader object, this constructor must be specified or
setJXTRColInfo(com.ddtek.jxtr.JXTRColInfo) must be invoked
after constructing the JXTRSaxInputSource object using the default
constructor JXTRSaxInputSource().
jxtrColInfo - jXTransformer column info object whose
contents will trigger the invocation of the SAX2 callbacks as
they are registered with the JXTRSaxReader.| Method Detail |
public java.io.InputStream getByteStream()
getByteStream in class org.xml.sax.InputSourcepublic java.io.Reader getCharacterStream()
getCharacterStream in class org.xml.sax.InputSourcepublic java.lang.String getEncoding()
getEncoding in class org.xml.sax.InputSourcepublic java.lang.String getPublicId()
getPublicId in class org.xml.sax.InputSourcepublic java.lang.String getSystemId()
getSystemId in class org.xml.sax.InputSourcepublic JXTRQueryBase getJXTRQuery()
public JXTRColInfo getJXTRColInfo()
public void setByteStream(java.io.InputStream byteStream)
setByteStream in class org.xml.sax.InputSourcebyteStream - Input stream containing the XML to parse.public void setCharacterStream(java.io.Reader characterStream)
JXTRSaxReader object, the specified Reader
is ignored.
setCharacterStream in class org.xml.sax.InputSourcecharacterStream - Reader containing the XML to parse.public void setEncoding(java.lang.String encoding)
setEncoding in class org.xml.sax.InputSourceencoding - Encoding for this input stream.public void setPublicId(java.lang.String publicId)
JXTRSaxReader object, the specified public ID
is ignored.
setPublicId in class org.xml.sax.InputSourcepublic void setSystemId(java.lang.String systemId)
JXTRSaxReader object, the specified System ID
is ignored.
setSystemId in class org.xml.sax.InputSourcepublic void setJXTRQuery(JXTRQueryBase jxtrQ)
jxtrQ - JXTRQuery object to be executed. This is the JXTRQuery
object for which SAX2 events will be generated.public void setJXTRColInfo(JXTRColInfo jxtrColInfo)
jxtrColInfo - JXTRColInfo object for which to retrieve the content
as SAX events.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||