当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
DelegatingObjectModelProvider (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.xml.binding
Class DelegatingObjectModelProvider
java.lang.Object
org.jboss.xml.binding.DelegatingObjectModelProvider
- All Implemented Interfaces:
- GenericObjectModelProvider, ObjectModelProvider
- public class DelegatingObjectModelProvider
- extends Object
- implements GenericObjectModelProvider
todo come up with a nicer class name
- Version:
- $Revision: 1.2.2.1 $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingObjectModelProvider
public DelegatingObjectModelProvider(ObjectModelProvider provider)
getChildren
public Object getChildren(Object o,
String namespaceURI,
String localName)
- Specified by:
getChildren
in interface GenericObjectModelProvider
getElementValue
public Object getElementValue(Object o,
String namespaceURI,
String localName)
- Specified by:
getElementValue
in interface GenericObjectModelProvider
getAttributeValue
public Object getAttributeValue(Object o,
String namespaceURI,
String localName)
- Specified by:
getAttributeValue
in interface GenericObjectModelProvider
getRoot
public Object getRoot(Object o,
String namespaceURI,
String localName)
- Description copied from interface:
ObjectModelProvider
- Called by the framework when a root XML element is marshalled.
- Specified by:
getRoot
in interface ObjectModelProvider
- Parameters:
o
- the root of the object graphnamespaceURI
- namespace URI of the root XML element being marshalledlocalName
- local name of the root XML element being marshalled
- Returns:
- an object that represents the root XML element corresponding to the namespace URI and local name
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.