站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

GenericObjectModelProvider (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.xml.binding
Interface GenericObjectModelProvider

All Superinterfaces:
ObjectModelProvider
All Known Implementing Classes:
DelegatingObjectModelProvider, MappingObjectModelProvider

public interface GenericObjectModelProvider
extends ObjectModelProvider

Direct implementations of ObjectModelProvider interface can be thought of as "typed" providers in a sense that arguments of getChildren, getElementValue and getAttributeValue methods are supposed to be of concrete Java types (other than java.lang.Object) from the target class hierarchy. Contrary, in GenericObjectModelFactory these arguments are of type java.lang.Object. The framework won't introspect an implementation of GenericObjectModelProvider to find "typed" implementations of getChildren, getElementValue and getAttributeValue. Instead it will call the generic methods.

Version:
$Revision: 1.1.2.1 $
Author:
Alexey Loubyansky

Method Summary
 Object getAttributeValue(Object o, String namespaceURI, String localName)
           
 Object getChildren(Object o, String namespaceURI, String localName)
           
 Object getElementValue(Object o, String namespaceURI, String localName)
           
 
Methods inherited from interface org.jboss.xml.binding.ObjectModelProvider
getRoot
 

Method Detail

getChildren

public Object getChildren(Object o,
                          String namespaceURI,
                          String localName)

getElementValue

public Object getElementValue(Object o,
                              String namespaceURI,
                              String localName)

getAttributeValue

public Object getAttributeValue(Object o,
                                String namespaceURI,
                                String localName)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.