|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.response.TInputStreamInterpreter
public abstract class TInputStreamInterpreter
TInputStreamInterpreter defines the abstract base class for interpreting a TInputStream object. Its purpose it to interpret a TInputStream containing a Tamino response document and extract the documents information and query content. Each concrete implementation has to provide the plug in method doInterpret which does the main interpreting according the physical object model that is in use.
Field Summary | |
---|---|
protected static TTimeLogger |
timeLogger
The central instance for time logging of the API. |
Constructor Summary | |
---|---|
protected |
TInputStreamInterpreter()
Initializes the interpreter. |
Method Summary | |
---|---|
protected abstract void |
doInterpret(TInputStream inputStream)
Performs the concrete interpretation of the TInputStream according the physical object model. |
java.util.Locale |
getLocale()
Gets the locale. |
TResponseInfoContent |
getResponseInfoContent()
Gets the TResponseInfoContent instance for the previous interpretation process. |
TResponseQueryContent |
getResponseQueryContent()
Gets the TResponseQueryContent instance for the previous interpretation process. |
void |
interpret(TInputStream inputStream)
Interprets the given TInputStream instance. |
void |
setLocale(java.util.Locale locale)
Sets the locale. |
abstract 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 |
Field Detail |
---|
protected static TTimeLogger timeLogger
Constructor Detail |
---|
protected TInputStreamInterpreter()
Method Detail |
---|
public void interpret(TInputStream inputStream) throws TStreamInterpretException
inputStream
- is the stream for a previous Tamino command operation.
TStreamInterpretException
- when interpreting errors occur.public TResponseInfoContent getResponseInfoContent()
public TResponseQueryContent getResponseQueryContent()
public void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
public abstract void setProperty(java.lang.String key, java.lang.Object value)
protected abstract void doInterpret(TInputStream inputStream) throws TStreamInterpretException
inputStream
- is the stream for a previous Tamino command operation.
TStreamInterpretException
- when interpreting errors occur.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |