org.apache.stanbol.enhancer.servicesapi.helper.impl
Class RdfProxyInvocationHandler

java.lang.Object
  extended by org.apache.stanbol.enhancer.servicesapi.helper.impl.RdfProxyInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class RdfProxyInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Field Summary
protected static java.lang.reflect.Method equals
          The equals Method of Object
protected  SimpleRdfEntityFactory factory
          The logger TODO: Question: How to get the dependencies for logging working with maven :(
protected static java.lang.reflect.Method getIDMethod
          The getID method of the RdfEntity Interface
protected static java.lang.reflect.Method hashCode
          The hashCode Method of Object
protected  org.apache.clerezza.rdf.core.LiteralFactory literalFactory
           
protected  org.apache.clerezza.rdf.core.NonLiteral rdfNode
           
protected static java.lang.reflect.Method toString
          The toString Method of Object
 
Constructor Summary
RdfProxyInvocationHandler(SimpleRdfEntityFactory factory, org.apache.clerezza.rdf.core.NonLiteral rdfNode, java.lang.Class<?>[] parsedInterfaces, org.apache.clerezza.rdf.core.LiteralFactory literalFactory)
           
 
Method Summary
protected  org.apache.clerezza.rdf.core.Resource getRdfResource(java.lang.Object value)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

getIDMethod

protected static final java.lang.reflect.Method getIDMethod
The getID method of the RdfEntity Interface


toString

protected static final java.lang.reflect.Method toString
The toString Method of Object


equals

protected static final java.lang.reflect.Method equals
The equals Method of Object


hashCode

protected static final java.lang.reflect.Method hashCode
The hashCode Method of Object


factory

protected SimpleRdfEntityFactory factory
The logger TODO: Question: How to get the dependencies for logging working with maven :(


literalFactory

protected org.apache.clerezza.rdf.core.LiteralFactory literalFactory

rdfNode

protected org.apache.clerezza.rdf.core.NonLiteral rdfNode
Constructor Detail

RdfProxyInvocationHandler

public RdfProxyInvocationHandler(SimpleRdfEntityFactory factory,
                                 org.apache.clerezza.rdf.core.NonLiteral rdfNode,
                                 java.lang.Class<?>[] parsedInterfaces,
                                 org.apache.clerezza.rdf.core.LiteralFactory literalFactory)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getRdfResource

protected org.apache.clerezza.rdf.core.Resource getRdfResource(java.lang.Object value)
                                                        throws org.apache.clerezza.rdf.core.NoConvertorException
Throws:
org.apache.clerezza.rdf.core.NoConvertorException


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.