org.jboss.xb.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.2 $
- Author:
- Alexey Loubyansky
getChildren
public Object getChildren(Object o,
MarshallingContext ctx,
String namespaceURI,
String localName)
getElementValue
public Object getElementValue(Object o,
MarshallingContext ctx,
String namespaceURI,
String localName)
getAttributeValue
public Object getAttributeValue(Object o,
MarshallingContext ctx,
String namespaceURI,
String localName)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.