Package org.apache.stanbol.entityhub.model.clerezza.impl

Examples of org.apache.stanbol.entityhub.model.clerezza.impl.UriRef2ReferenceAdapter


                    new UriRefAdapter<T>(),
                    type);
        } else if(Reference.class.isAssignableFrom(type)){
            return (Iterator<T>) new AdaptingIterator<UriRef,Reference>(
                    graphNode.getUriRefObjects(fieldUriRef),
                    new UriRef2ReferenceAdapter(),Reference.class);
        } else if(Text.class.isAssignableFrom(type)){
            return (Iterator<T>)new AdaptingIterator<Literal, Text>(
                    graphNode.getLiterals(fieldUriRef),
                    new Literal2TextAdapter<Literal>(),
                    Text.class);
View Full Code Here


        } else if(field.isEmpty()){
            throw new IllegalArgumentException("The parsed field MUST NOT be Empty");
        }
        return new AdaptingIterator<UriRef,Reference>(
                graphNode.getUriRefObjects(new UriRef(field)),
                new UriRef2ReferenceAdapter(),Reference.class);
    }
View Full Code Here

                    new UriRefAdapter<T>(),
                    type);
        } else if(Reference.class.isAssignableFrom(type)){
            return (Iterator<T>) new AdaptingIterator<UriRef,Reference>(
                    graphNode.getUriRefObjects(fieldUriRef),
                    new UriRef2ReferenceAdapter(),Reference.class);
        } else if(Text.class.isAssignableFrom(type)){
            return (Iterator<T>)new AdaptingIterator<Literal, Text>(
                    graphNode.getLiterals(fieldUriRef),
                    new Literal2TextAdapter<Literal>(),
                    Text.class);
View Full Code Here

        } else if(field.isEmpty()){
            throw new IllegalArgumentException("The parsed field MUST NOT be Empty");
        }
        return new AdaptingIterator<UriRef,Reference>(
                graphNode.getUriRefObjects(new UriRef(field)),
                new UriRef2ReferenceAdapter(),Reference.class);
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.entityhub.model.clerezza.impl.UriRef2ReferenceAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.