Package org.eclipse.wst.xml.xpath2.processor.internal
public class DefaultResultSequence extends org.eclipse.wst.xml.xpath2.processor.ResultSequenceDefault implementation of a result sequence.
Constructor Summary |
DefaultResultSequence() |
DefaultResultSequence(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType item) |
Method Summary | |
public void | add(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType item) |
public void | clear()Clears the sequence. |
public void | concat(org.eclipse.wst.xml.xpath2.processor.ResultSequence rs) |
public org.eclipse.wst.xml.xpath2.processor.ResultSequence | create_new()Create a new sequence. |
public boolean | empty()Whether or not array _seq is empty |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType | first() |
public java.lang.Object | firstValue() |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType | get(int i) |
public java.util.ListIterator | iterator() |
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType | sequenceType() |
public int | size() |
Constructor Detail |
public DefaultResultSequence()
Constructor. an empty array is created
public DefaultResultSequence(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType item)
Methods Detail |
public void add(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType item)
item - is added to array _seq
public void clear()
Clears the sequence.
public void concat(org.eclipse.wst.xml.xpath2.processor.ResultSequence rs)
rs - ResultSequence
public org.eclipse.wst.xml.xpath2.processor.ResultSequence create_new()
Create a new sequence.
org.eclipse.wst.xml.xpath2.processor.ResultSequence - The new sequence.
public boolean empty()
Whether or not array _seq is empty
boolean - a boolean
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType first()
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType - first item from array _seq
public java.lang.Object firstValue()
java.lang.Object - first item from array _seq
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType get(int i)
i - is the position of the array item that is wanted.
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType - item i from array _seq
public java.util.ListIterator iterator()
java.util.ListIterator - the next iteration of array _seq
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType sequenceType()
org.eclipse.wst.xml.xpath2.api.typesystem.ItemType
public int size()
int - integer of the size of array _seq