org.ontoware.rdf2go.util.transform
Class URISearchReplaceRule

java.lang.Object
  extended by org.ontoware.rdf2go.util.transform.URISearchReplaceRule
All Implemented Interfaces:
TransformerRule

public class URISearchReplaceRule
extends java.lang.Object
implements TransformerRule


Constructor Summary
URISearchReplaceRule(URI search, URI replace)
           
 
Method Summary
 void applyRule(Model model, java.util.Map<java.lang.String,URI> namespaceMap)
           
static void searchAndReplace(Model model, java.util.Map<java.lang.String,URI> namespaceMap, URI search, URI replace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URISearchReplaceRule

public URISearchReplaceRule(URI search,
                            URI replace)
Method Detail

applyRule

public void applyRule(Model model,
                      java.util.Map<java.lang.String,URI> namespaceMap)
Specified by:
applyRule in interface TransformerRule

searchAndReplace

public static void searchAndReplace(Model model,
                                    java.util.Map<java.lang.String,URI> namespaceMap,
                                    URI search,
                                    URI replace)


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.