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(String prefix)
          A namespace prefix is going out of scope.
 void startPrefixMapping(String prefix, String uri)
          A namespace prefix is being defined..
 

Method Detail

startPrefixMapping

void startPrefixMapping(String prefix,
                        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(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)


Licenced under the Apache License, Version 2.0