ca.gorman.xml.parse.util
Class ClassNamespaceElementMapper<T extends Parser>
java.lang.Object
ca.gorman.xml.parse.util.ClassNamespaceElementMapper<T>
- All Implemented Interfaces:
- ElementListener<T>, ElementMapper<T>
public class ClassNamespaceElementMapper<T extends Parser>
- extends Object
- implements ElementMapper<T>
This class is a placeholder, not fully implemented
Maps XML namespaces to Java classes and XML elements to methods in
the class that corresponds the namespace of the element.
|
Method Summary |
void |
doElement(T parser,
CurrentElement element)
Receive a request to handle a element that is
being parsed, and invoke the appropriate element method for that
element, not implemented yet,throws UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassNamespaceElementMapper
public ClassNamespaceElementMapper()
doElement
public void doElement(T parser,
CurrentElement element)
throws ListenerException,
IOException
Receive a request to handle a element that is
being parsed, and invoke the appropriate element method for that
element, not implemented yet,throws UnsupportedOperationException.
- Specified by:
doElement in interface ElementListener<T extends Parser>- Specified by:
doElement in interface ElementMapper<T extends Parser>
- Parameters:
parser - The Parser that invoked this methodelement - CurrentElement instance with a
content handler
to parse the centent of the element.
- Throws:
ListenerException - when the exception has been thrown from a
Listener method.
IOException - when an input or output error occurs
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