public abstract class AbstractSelector<T> extends Object implements Selector<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractSelector(Class<T> resultType) |
Modifier and Type | Method and Description |
---|---|
Class<T> |
getResultType() |
abstract List<T> |
result(RDFNode node) |
T |
singleResult(RDFNode node) |
<Other> Selector<Other> |
withResultType(Class<Other> otherType) |
public T singleResult(RDFNode node)
singleResult
in interface Selector<T>
public Class<T> getResultType()
getResultType
in interface Selector<T>
public <Other> Selector<Other> withResultType(Class<Other> otherType)
withResultType
in interface Selector<T>
Copyright © 2009-2013. All Rights Reserved.