public interface TResponseQueryContent extends TResponseContent
Modifier and Type | Method and Description |
---|---|
void |
add(TXMLObject xmlObject)
Adds the specified TXMLObject to the set.
|
void |
addAll(java.util.Iterator iterator)
Adds all TXMLObject instances underlying the iterator to the set.
|
void |
clear()
Clears the entire set.
|
TXMLObject |
get(int index)
Gets the TXMLObject at the specified index.
|
java.lang.String |
getText()
Gets text content that might be given for the response query content.
|
boolean |
hasText()
Indicates if text content is given for the response query content.
|
java.util.Iterator |
iterator()
Returns the iterator for this set.
|
void |
reverse()
Reverses the entire set of contained TXMLObjects.
|
void |
set(int index,
TXMLObject xmlObject)
Sets the specified TXMLObject at the specified index.
|
void |
setText(java.lang.String text)
Sets text content that might be given for the responses query content.
|
int |
size()
Returns the size meaning number of TXMLObject instances currently stored
within the sequence.
|
void |
writeTo(java.io.Writer writer)
Writes the current query content to the given Writer instance.
|
void add(TXMLObject xmlObject)
xmlObject
- that should be added to the set.void addAll(java.util.Iterator iterator)
iterator
- is the iterator for TXMLObject instances.void set(int index, TXMLObject xmlObject) throws java.lang.IndexOutOfBoundsException
index
- should be in valid range.xmlObject
- is the object that should be inserted.java.lang.IndexOutOfBoundsException
- when index is out of bounds.void setText(java.lang.String text)
text
- referrs to the text content that might be given for xql:result.TXMLObject get(int index) throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsException
java.lang.String getText()
boolean hasText()
void reverse()
java.util.Iterator iterator()
void clear()
int size()
void writeTo(java.io.Writer writer)
writer
- is the output stream to which the sequnce of TXMLObject instances are written to.Copyright (c) 2017 Software AG. All Rights Reserved.