GXPARSE hosted by SourceForge.net Logo

ca.gorman.xml.parse
Interface PrefixListener<T extends Parser>

All Known Subinterfaces:
Listener<T>
All Known Implementing Classes:
AbstractErrorListener, AbstractListener, CoroutineCheckListener, DumpListener, SkipListener

public interface PrefixListener<T extends Parser>

Namespace prefix Listener interface for XML processing applications that are driven by an XML push Parser.


Method Summary
 void endPrefixMapping(T parser, String prefix)
           End the scope of a prefix-URI mapping (still under development, design may change).
 void startPrefixMapping(T parser, String prefix, String uri)
           Begin the scope of a prefix-URI Namespace mapping (still under development, design may change).
 

Method Detail

startPrefixMapping

void startPrefixMapping(T parser,
                        String prefix,
                        String uri)
                        throws ListenerException,
                               IOException

Begin the scope of a prefix-URI Namespace mapping (still under development, design may change).

Parameters:
parser - The Parser that invoked this method
prefix - The Namespace prefix being declared.
uri - The Namespace URI the prefix is mapped to.
Throws:
ListenerException
IOException

endPrefixMapping

void endPrefixMapping(T parser,
                      String prefix)
                      throws ListenerException,
                             IOException

End the scope of a prefix-URI mapping (still under development, design may change).

Parameters:
parser - The Parser that invoked this method
prefix - The prefix that was being mapped.
Throws:
ListenerException
IOException

GXPARSE download

GXPARSE Generic XML Stream Parser API and supporting tools.   Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004 Ian E. Gorman
Released under GNU Lesser General Public License