public abstract class AbstractAdaptation<DestType,NodeType extends RDFNode> extends Object implements Adaptation<DestType>
Modifier | Constructor and Description |
---|---|
protected |
AbstractAdaptation(Class<DestType> destinationType,
Class<?>[] argTypes,
Class<NodeType> nodeType) |
Modifier and Type | Method and Description |
---|---|
DestType |
adapt(RDFNode node) |
protected abstract DestType |
doAdapt(NodeType node) |
Class<?>[] |
getArgTypes() |
Class<DestType> |
getDestinationType() |
void |
setArgs(Object[] args) |
protected void |
setCheckedArgs(Object[] args) |
public Class<DestType> getDestinationType()
getDestinationType
in interface Adaptation<DestType>
public Class<?>[] getArgTypes()
getArgTypes
in interface Adaptation<DestType>
public void setArgs(Object[] args)
setArgs
in interface Adaptation<DestType>
protected void setCheckedArgs(Object[] args)
public DestType adapt(RDFNode node)
adapt
in interface Adaptation<DestType>
Copyright © 2009-2013. All Rights Reserved.