org.deri.wsmo4j.io.parser.rdf
Class RDFNamespaceListener
java.lang.Object
org.deri.wsmo4j.io.parser.rdf.RDFNamespaceListener
- All Implemented Interfaces:
- org.openrdf.rio.NamespaceListener
public class RDFNamespaceListener
- extends Object
- implements org.openrdf.rio.NamespaceListener
Implementation of an interface defining methods
for receiving namespace declarations from an RDF parser.
Created on May 02, 2006
Committed by $Author: morcen $
$Source$
- Version:
- $Revision: 1946 $ $Date: 2007-04-02 15:13:28 +0300 (Mon, 02 Apr 2007) $
- Author:
- nathalie.steinmetz@deri.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDFNamespaceListener
public RDFNamespaceListener(HashMap<String,String> namespaces)
handleNamespace
public void handleNamespace(String prefix,
String uri)
- The namespace listener adds all the namespaces to a HashMap.
The prefix is the entry's key, the uri is the value.
- Specified by:
handleNamespace
in interface org.openrdf.rio.NamespaceListener
- Parameters:
prefix
- the namespace's prefixuri
- the namespace's uri
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.