com.softwareag.tamino.db.api.response.jdom
Class TJDOMInputStreamInterpreter
java.lang.Object
TInputStreamInterpreter
com.softwareag.tamino.db.api.response.jdom.TJDOMInputStreamInterpreter
public class TJDOMInputStreamInterpreter
- extends TInputStreamInterpreter
TJDOMInputStreamInterpreter is the implemenation for the interpreting as it is needed
for JDOM needs. This means that instantiated objects for query results are concrete
TXMLObject instances with an underlying JDOM object model.
- Version:
- $Revision: 1.5 $
- Author:
- Marcus Schreyer
Method Summary |
protected void |
doInterpret(TInputStream inputStream)
Interprets the a general inputStream in a generic fashion. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets a generic property on the concrete interpreter instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TJDOMInputStreamInterpreter
public TJDOMInputStreamInterpreter(java.lang.String parserName)
TJDOMInputStreamInterpreter
public TJDOMInputStreamInterpreter()
setProperty
public void setProperty(java.lang.String key,
java.lang.Object value)
- Sets a generic property on the concrete interpreter instance. The properties that can actually be set
depend on the TXMLObjectModel that is related to the concrete interpreter. Each interpreter that might
be instantiated is related to a TXMLObjectModel. Here the user can set specific properties that might
be relevant as additional parameters to the interpreter.
This method does nothing for the JDOM specific interpreter.
doInterpret
protected void doInterpret(TInputStream inputStream)
throws TStreamInterpretException
- Interprets the a general inputStream in a generic fashion. As a consequence only the
result state will be obtained.
- Parameters:
inputStream
- is the InputStream for a response to a previous operation on Tamino.
- Throws:
TStreamInterpretException
- when interpreting errors occur.
Copyright (c) ${year.timestamp} Software AG. All Rights Reserved.