Class 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

      Fields 
      Modifier and Type Field Description
      protected static java.lang.reflect.Method coerceMethod  
      protected static java.lang.reflect.Method createMethod  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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)