Package org.eclipse.wst.xml.xpath2.processor
public class ResultSequence extends java.lang.ObjectInterface to the methods of range of result sequence
Constructor Summary |
ResultSequence() |
Method Summary | |
public void | add(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType item) add item |
public void | clear() clear |
public void | concat(org.eclipse.wst.xml.xpath2.processor.ResultSequence rs) concatinate from rs |
public org.eclipse.wst.xml.xpath2.processor.ResultSequence | create_new() create a new result sequence |
public boolean | empty() check is the sequence is empty |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType | first() retrieve the first item |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType | get(int i) get item in index i |
public org.eclipse.wst.xml.xpath2.api.Item | item(int index) |
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType | itemType(int index) |
public java.util.ListIterator | iterator() List Iterator. |
public void | release() release the result sequence |
public int | size() get the size |
public java.lang.String | string() retrieve items in sequence |
public java.lang.Object | value(int index) |
Constructor Detail |
public ResultSequence()
Methods Detail |
public void add(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType item)
add item
item
- is an item of any type.
public void clear()
clear
public void concat(org.eclipse.wst.xml.xpath2.processor.ResultSequence rs)
concatinate from rs
rs
- is a Result Sequence.
public org.eclipse.wst.xml.xpath2.processor.ResultSequence create_new()
create a new result sequence
org.eclipse.wst.xml.xpath2.processor.ResultSequence
- a new result sequence.
public boolean empty()
check is the sequence is empty
boolean
- boolean.
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType first()
retrieve the first item
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType
- the first item.
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType get(int i)
get item in index i
i
- is the position.
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType
public org.eclipse.wst.xml.xpath2.api.Item item(int index)
index
org.eclipse.wst.xml.xpath2.api.Item
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType itemType(int index)
index
org.eclipse.wst.xml.xpath2.api.typesystem.ItemType
public java.util.ListIterator iterator()
List Iterator.
java.util.ListIterator
public void release()
release the result sequence
public int size()
get the size
int
- the size.
public java.lang.String string()
retrieve items in sequence
java.lang.String
- result string
public java.lang.Object value(int index)
index
java.lang.Object