public static final class EmbeddedReasoningConnection.View extends Object implements ConnectionView<Connection,ReasoningConnection>
View.ViewException
Constructor and Description |
---|
View() |
Modifier and Type | Method and Description |
---|---|
ReasoningConnection |
as(Connection theV)
Transform the object into the new view.
|
boolean |
canView(Connection theConnection,
Class<ReasoningConnection> theView)
Return whether or not the provided type of object can be viewed as the desired type.
|
public ReasoningConnection as(Connection theV) throws View.ViewException
as
in interface View<Connection,ReasoningConnection>
theV
- the object to changeView.ViewException
- if there was an error changing the view of the object.public boolean canView(Connection theConnection, Class<ReasoningConnection> theView)
View.as(Input)
will always succeed.canView
in interface View<Connection,ReasoningConnection>
theConnection
- the type of the object whose view is to be changedtheView
- the type of view we want.Copyright © 2010-2016 Stardog Union. All Rights Reserved.