Package org.apache.stanbol.entityhub.core.mapping.ValueConverterFactory

Examples of org.apache.stanbol.entityhub.core.mapping.ValueConverterFactory.ReferenceConverter


        public EntityhubConfiguration(ValueFactory vf){
            super();
            vf = vf == null ? InMemoryValueFactory.getInstance() : vf;
            //register special Entutyhub Transformer for
            // * entityhub:reference
            ValueConverter<Reference> referenceConverter = new ReferenceConverter();
            addTransformer(referenceConverter.getDataType(),
                new ValueConverterTransformerAdapter<Reference>(referenceConverter,vf));
            // * xsd:anyURI
            ValueConverter<Reference> uriConverter = new AnyUriConverter();
            addTransformer(uriConverter.getDataType(),
                new ValueConverterTransformerAdapter<Reference>(uriConverter,vf));
View Full Code Here


        public EntityhubConfiguration(ValueFactory vf){
            super();
            vf = vf == null ? InMemoryValueFactory.getInstance() : vf;
            //register special Entutyhub Transformer for
            // * entityhub:reference
            ValueConverter<Reference> referenceConverter = new ReferenceConverter();
            addTransformer(referenceConverter.getDataType(),
                new ValueConverterTransformerAdapter<Reference>(referenceConverter,vf));
            // * xsd:anyURI
            ValueConverter<Reference> uriConverter = new AnyUriConverter();
            addTransformer(uriConverter.getDataType(),
                new ValueConverterTransformerAdapter<Reference>(uriConverter,vf));
View Full Code Here

TOP

Related Classes of org.apache.stanbol.entityhub.core.mapping.ValueConverterFactory.ReferenceConverter

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.