Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.xml.esax
Interface ElementTypeResolver


public interface ElementTypeResolver

An ElementTypeResolver may be employed by a DynamicElementHandler to resolve a fully-qualified element name to a runtime type.

See Also:
DynamicElementHandler

Method Summary
 java.lang.Class resolveType(java.lang.String namespaceURI, java.lang.String localName)
          Resolves a fully-qualified element name to a runtime type which is capable of consuming information in child elements as laid out by the rules defined by DynamicElementHandler.
 

Method Detail

resolveType

java.lang.Class resolveType(java.lang.String namespaceURI,
                            java.lang.String localName)
                            throws HandlerException
Resolves a fully-qualified element name to a runtime type which is capable of consuming information in child elements as laid out by the rules defined by DynamicElementHandler.

Parameters:
namespaceURI - the namespace uri of the element to be resolved.
localName - the local name of the element to be resolved.
Returns:
a Class representing the runtime type capable of consuming the xml, or null if no matching type is found.
Throws:
HandlerException - if any problems occur loading the matching class.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.