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.
    • 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)