public class TResponseHandleImpl extends TAbstractResponse
Constructor and Description |
---|
TResponseHandleImpl(TInputStreamInterpreter inputStreamInterpreter) |
TResponseHandleImpl(TInputStreamInterpreter inputStreamInterpreter,
TNonXMLObjectIterator nonXMLObjectIterator) |
TResponseHandleImpl(TInputStreamInterpreter inputStreamInterpreter,
TXMLObjectIterator xmlObjectIterator) |
Modifier and Type | Method and Description |
---|---|
TNonXMLObject |
getFirstNonXMLObject()
Gets the first non xml object given for the non xml object iterator.
|
TXMLObject |
getFirstXMLObject()
Gets the first xml object given for the xml object iterator.
|
TResponseInfoContent |
getInfoContent()
Gets the result state.
|
java.lang.String |
getMessageCode()
Gets the code attribute for the first message block with a return value not equals 0 or
the empty string.
|
java.lang.String |
getMessageLine()
Gets the first message line for the first message block with a return value not equals 0 or
the message line of the last message block.
|
java.lang.String |
getMessageText()
Gets the message text for the first message block with a return value not equals 0 or
the empty string.
|
TNonXMLObjectIterator |
getNonXMLObjectIterator()
Gets the non XML object iterator.
|
java.lang.String |
getQueryContentAsString()
Gets the content for a query related response as a String.
|
java.lang.String |
getReturnValue()
Gets the return value the first message block with a return value not equals 0 or
the return value of the last message block which then would be 0.
|
java.util.Iterator |
getWarnings()
Gets an iterator for the list of TWarning instances containing the Tamino warnings.
|
TXMLObjectIterator |
getXMLObjectIterator()
Gets the XML object iterator.
|
boolean |
hasFirstNonXMLObject()
Indicates if the response provides a first TNonXMLObject instance.
|
boolean |
hasFirstXMLObject()
Indicates if the response provides a first TXMLObject instance.
|
boolean |
hasQueryContent()
Indicates if the response provides content that is referred to a previously invoked query.
|
boolean |
hasWarnings()
Indicates if the response of Tamino contained any warning information.
|
java.lang.String |
toString()
Shows a text representation of the response.
|
getLocale, getQueryContentAsStream, setLocale
public TResponseHandleImpl(TInputStreamInterpreter inputStreamInterpreter) throws TResponseBuildException
TResponseBuildException
public TResponseHandleImpl(TInputStreamInterpreter inputStreamInterpreter, TXMLObjectIterator xmlObjectIterator) throws TResponseBuildException
TResponseBuildException
public TResponseHandleImpl(TInputStreamInterpreter inputStreamInterpreter, TNonXMLObjectIterator nonXMLObjectIterator) throws TResponseBuildException
TResponseBuildException
public java.lang.String getReturnValue()
getReturnValue
in interface TResponse
getReturnValue
in class TAbstractResponse
public java.lang.String getMessageLine()
getMessageLine
in interface TResponseHandle
getMessageLine
in class TAbstractResponse
public java.lang.String getMessageText()
getMessageText
in interface TResponseHandle
getMessageText
in class TAbstractResponse
public java.lang.String getMessageCode()
getMessageCode
in interface TResponseHandle
getMessageCode
in class TAbstractResponse
public TResponseInfoContent getInfoContent()
getInfoContent
in interface TResponseHandle
getInfoContent
in class TAbstractResponse
public TXMLObjectIterator getXMLObjectIterator()
getXMLObjectIterator
in interface TResponse
getXMLObjectIterator
in class TAbstractResponse
public TXMLObject getFirstXMLObject()
getFirstXMLObject
in interface TResponse
getFirstXMLObject
in class TAbstractResponse
public boolean hasFirstXMLObject()
hasFirstXMLObject
in interface TResponse
hasFirstXMLObject
in class TAbstractResponse
public TNonXMLObjectIterator getNonXMLObjectIterator()
getNonXMLObjectIterator
in interface TResponse
getNonXMLObjectIterator
in class TAbstractResponse
public TNonXMLObject getFirstNonXMLObject()
getFirstNonXMLObject
in interface TResponse
getFirstNonXMLObject
in class TAbstractResponse
public boolean hasFirstNonXMLObject()
hasFirstNonXMLObject
in interface TResponse
hasFirstNonXMLObject
in class TAbstractResponse
public boolean hasQueryContent()
hasQueryContent
in interface TResponse
hasQueryContent
in class TAbstractResponse
public boolean hasWarnings()
hasWarnings
in interface TResponse
hasWarnings
in class TAbstractResponse
public java.util.Iterator getWarnings()
getWarnings
in interface TResponse
getWarnings
in class TAbstractResponse
public java.lang.String toString()
toString
in class TAbstractResponse
public java.lang.String getQueryContentAsString()
getQueryContentAsString
in interface TResponse
getQueryContentAsString
in class TAbstractResponse
Copyright (c) 2017 Software AG. All Rights Reserved.