com.softwareag.tamino.db.api.response.dom
Class TDOMInputStreamInterpreter

java.lang.Object
  extended by com.softwareag.tamino.db.api.response.TInputStreamInterpreter
      extended by com.softwareag.tamino.db.api.response.dom.TDOMInputStreamInterpreter

public class TDOMInputStreamInterpreter
extends TInputStreamInterpreter

TDOMInputStreamInterpreter is the implemenation for the interpreting as it is needed for DOM needs. This means that instantiated objects for query results are concrete TXMLObject instances with an underlying DOM object model.

Version:
$Revision: 1.38 $
Author:
Marcus Schreyer

Field Summary
 
Fields inherited from class com.softwareag.tamino.db.api.response.TInputStreamInterpreter
timeLogger
 
Constructor Summary
TDOMInputStreamInterpreter()
           
 
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 com.softwareag.tamino.db.api.response.TInputStreamInterpreter
getLocale, getResponseInfoContent, getResponseQueryContent, interpret, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TDOMInputStreamInterpreter

public TDOMInputStreamInterpreter()
Method Detail

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 DOM specific interpreter.

Specified by:
setProperty in class TInputStreamInterpreter

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.

Specified by:
doInterpret in class TInputStreamInterpreter
Parameters:
inputStream - is the InputStream for a response to a previous operation on Tamino.
Throws:
TStreamInterpretException - when interpreting errors occur.


Copyright (c) 2013 Software AG. All Rights Reserved.