Package org.eclipse.wst.xml.xpath2.api


org.eclipse.wst.xml.xpath2.api
Class ResultBuffer.SingleResultSequence



public class ResultBuffer.SingleResultSequence
extends java.lang.Object

Constructor Summary

ResultBuffer.SingleResultSequence(org.eclipse.wst.xml.xpath2.api.Item at)

Method Summary

public booleanempty()
    
public org.eclipse.wst.xml.xpath2.api.Itemfirst()
    
public java.lang.ObjectfirstValue()
    
public org.eclipse.wst.xml.xpath2.api.Itemitem(int index)
    
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemTypeitemType(int index)
    
public java.util.Iteratoriterator()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemTypesequenceType()
    
public intsize()
    
public java.lang.Objectvalue(int index)
    

Constructor Detail

ResultBuffer.SingleResultSequence

public ResultBuffer.SingleResultSequence(org.eclipse.wst.xml.xpath2.api.Item at)


Methods Detail

empty

public boolean empty()

Returns

boolean


first

public org.eclipse.wst.xml.xpath2.api.Item first()

Returns

org.eclipse.wst.xml.xpath2.api.Item


firstValue

public java.lang.Object firstValue()

Returns

java.lang.Object


item

public org.eclipse.wst.xml.xpath2.api.Item item(int index)

Parameters

index

Returns

org.eclipse.wst.xml.xpath2.api.Item


itemType

public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType itemType(int index)

Parameters

index

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.ItemType


iterator

public java.util.Iterator iterator()

Returns

java.util.Iterator


sequenceType

public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType sequenceType()

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.ItemType


size

public int size()

Returns

int


value

public java.lang.Object value(int index)

Parameters

index

Returns

java.lang.Object