Package org.foafrealm.mfb.mediator.predefined

Examples of org.foafrealm.mfb.mediator.predefined.PredefinedRdfEnhancer


    Map<String, String[]> predefined = ContextKeeper.getConfigParamMapFor("facets.predefined", "facet_uri");
   
    for(String faceturi : predefined.keySet()){
      if(properties.contains(inputModel.getProperty(faceturi))){
        PredefinedRdfEnhancer enhancer;
        String color = predefined.get(faceturi)[0];
       
        for(int i = 1; i < predefined.get(faceturi).length; i++){
          String call = predefined.get(faceturi)[i];
         
          try {
            enhancer = (PredefinedRdfEnhancer)Class.forName("org.foafrealm.mfb.mediator.predefined."+call+"Enhancer").newInstance();
          } catch (InstantiationException e) {
            e.printStackTrace();
            continue;
          } catch (IllegalAccessException e) {
            e.printStackTrace();
            continue;
          } catch (ClassNotFoundException e) {
            e.printStackTrace();
            continue;
          }
         
          enhancer.enhance(inputModel, outputModel, properties, enhanceCache, faceturi, color);
        }
       
       
       
       
View Full Code Here

TOP

Related Classes of org.foafrealm.mfb.mediator.predefined.PredefinedRdfEnhancer

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.