public interface GenericObjectModelProvider extends ObjectModelProvider
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.| Modifier and Type | Method and Description |
|---|---|
Object |
getAttributeValue(Object o,
MarshallingContext ctx,
String namespaceURI,
String localName) |
Object |
getChildren(Object o,
MarshallingContext ctx,
String namespaceURI,
String localName) |
Object |
getElementValue(Object o,
MarshallingContext ctx,
String namespaceURI,
String localName) |
getRootObject getChildren(Object o, MarshallingContext ctx, String namespaceURI, String localName)
Object getElementValue(Object o, MarshallingContext ctx, String namespaceURI, String localName)
Object getAttributeValue(Object o, MarshallingContext ctx, String namespaceURI, String localName)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.