Tabnine Logo
MappedLoader.mapDynamicURI
Code IndexAdd Tabnine to your IDE (free)

How to use
mapDynamicURI
method
in
org.apache.jena.sparql.util.MappedLoader

Best Java code snippets using org.apache.jena.sparql.util.MappedLoader.mapDynamicURI (Showing top 3 results out of 315)

origin: apache/jena

public static Class<?> loadClass(String uri, Class<?> expectedClass) {
  String mappedUri = mapDynamicURI(uri);
  if (mappedUri == null)
    return null;
  return ClsLoader.loadClass(mappedUri, expectedClass);
}
origin: apache/jena

public static boolean isPossibleDynamicURI(String uri, Class<?> expectedClass) {
  String mappedUri = mapDynamicURI(uri);
  if (mappedUri == null)
    return false;
  // Need to force the load to check everything.
  // Callers (who are expectedClass sensitive) should have
  // an "alreadyLoaded" cache
  return loadClass(uri, expectedClass) != null;
}
origin: apache/jena

/** Lookup by URI */
public PropertyFunctionFactory get(String uri)
{
  String mappedUri = MappedLoader.mapDynamicURI(uri) ;
  if ( mappedUri != null )
    uri = mappedUri ; 
  
  PropertyFunctionFactory ext = registry.get(uri) ;
  if ( ext != null )
    return ext ;
  
  if ( attemptedLoads.contains(uri) )
    return null ;
  Class<?> extClass = MappedLoader.loadClass(uri, PropertyFunction.class) ;
  if ( extClass == null )
    return null ;
  // Register it
  put(mappedUri, extClass) ;
  attemptedLoads.add(uri) ;
  // Call again to get it.
  return registry.get(uri) ;
}

org.apache.jena.sparql.utilMappedLoadermapDynamicURI

Popular methods of MappedLoader

  • find
  • isPossibleDynamicURI
  • loadClass

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • getSystemService (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • JPanel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now