org.jboss.xml.binding
Interface GenericObjectModelProvider
- All Superinterfaces:
- ObjectModelProvider (src)
- All Known Implementing Classes:
- BookGenericObjectModelProvider (src) , DelegatingObjectModelProvider (src) , MappingObjectModelProvider (src)
- public interface GenericObjectModelProvider
- extends ObjectModelProvider (src)
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.
Method Summary |
java.lang.Object |
getAttributeValue(java.lang.Object o,
java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.Object |
getChildren(java.lang.Object o,
java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.Object |
getElementValue(java.lang.Object o,
java.lang.String namespaceURI,
java.lang.String localName)
|
getChildren
public java.lang.Object getChildren(java.lang.Object o,
java.lang.String namespaceURI,
java.lang.String localName)
getElementValue
public java.lang.Object getElementValue(java.lang.Object o,
java.lang.String namespaceURI,
java.lang.String localName)
getAttributeValue
public java.lang.Object getAttributeValue(java.lang.Object o,
java.lang.String namespaceURI,
java.lang.String localName)