com.softwareag.tamino.db.api.response.sax
Class TSAXInputStreamInterpreter

java.lang.Object
  extended by com.softwareag.tamino.db.api.response.TInputStreamInterpreter
      extended by com.softwareag.tamino.db.api.response.sax.TSAXInputStreamInterpreter

public class TSAXInputStreamInterpreter
extends TInputStreamInterpreter

Version:
$Revision: 1.17 $
Author:
Marcus Schreyer

Field Summary
 
Fields inherited from class com.softwareag.tamino.db.api.response.TInputStreamInterpreter
timeLogger
 
Constructor Summary
TSAXInputStreamInterpreter()
           
 
Method Summary
protected  void doInterpret(TInputStream inputStream)
          Performs the concrete interpretation of the TInputStream according the physical object model.
 TResponseInfoContent getResponseInfoContent()
          Gets the TResponseInfoContent object.
 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, getResponseQueryContent, interpret, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSAXInputStreamInterpreter

public TSAXInputStreamInterpreter()
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. For the SAX specifie stream interpreter it is necessary to set here the QueryContentHandler which acts as an additional parameter here.

Specified by:
setProperty in class TInputStreamInterpreter

getResponseInfoContent

public TResponseInfoContent getResponseInfoContent()
Gets the TResponseInfoContent object.

Overrides:
getResponseInfoContent in class TInputStreamInterpreter
Returns:
TResponseInfoContent represents the result state abstraction.

doInterpret

protected void doInterpret(TInputStream inputStream)
                    throws TStreamInterpretException
Performs the concrete interpretation of the TInputStream according the physical object model. As a side effect the TResponseInfoContent object is generated. If the given TInputStream is related to a previous query command a TResponseQueryContent object is generated as well.

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


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