org.apache.xbean.spring.context.impl
Class QNameReflectionHelper

java.lang.Object
  extended by org.apache.xbean.spring.context.impl.QNameReflectionHelper

public class QNameReflectionHelper
extends java.lang.Object

To avoid a runtime dependency on the QName class lets use reflection to process QName instances.

Version:
$Revision: 1.1 $

Field Summary
protected static java.lang.reflect.Method coerceMethod
           
protected static java.lang.reflect.Method createMethod
           
 
Constructor Summary
QNameReflectionHelper()
           
 
Method Summary
static void coerceNamespaceAwarePropertyValues(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition, org.w3c.dom.Element element, java.beans.PropertyDescriptor[] descriptors, int index)
           
static java.lang.Object createQName(org.w3c.dom.Element element, java.lang.String text)
           
protected static java.lang.reflect.Method findMethod(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coerceMethod

protected static java.lang.reflect.Method coerceMethod

createMethod

protected static java.lang.reflect.Method createMethod
Constructor Detail

QNameReflectionHelper

public QNameReflectionHelper()
Method Detail

coerceNamespaceAwarePropertyValues

public static void coerceNamespaceAwarePropertyValues(org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition,
                                                      org.w3c.dom.Element element,
                                                      java.beans.PropertyDescriptor[] descriptors,
                                                      int index)

createQName

public static java.lang.Object createQName(org.w3c.dom.Element element,
                                           java.lang.String text)

findMethod

protected static java.lang.reflect.Method findMethod(java.lang.String name)


Copyright © 2005-2011. All Rights Reserved.