com.hp.hpl.jena.rdf.arp
Interface NamespaceHandler

All Known Subinterfaces:
ARPEventHandler

public interface NamespaceHandler

The interface for being notified about namespace use in an RDF/XML document. This has methods copied form SAX for notifying the application of namespaces.

Author:
Jeremy Carroll

Method Summary
 void endPrefixMapping(java.lang.String prefix)
          A namespace prefix is going out of scope.
 void startPrefixMapping(java.lang.String prefix, java.lang.String uri)
          A namespace prefix is being defined..
 

Method Detail

startPrefixMapping

void startPrefixMapping(java.lang.String prefix,
                        java.lang.String uri)
A namespace prefix is being defined..

Parameters:
prefix - the name of the prefix (ie the X in xmlns:X=U)
uri - the uri string (ie the U)

endPrefixMapping

void endPrefixMapping(java.lang.String prefix)
A namespace prefix is going out of scope. There is no guarantee that start and end PrefixMapping calls nest.

Parameters:
prefix - the name of the prefix (ie the X in xmlns:X=U)


Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP