Class ObjectFactory<T,​X extends XmlObject>


  • public class ObjectFactory<T,​X extends XmlObject>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T load​(java.lang.String name, java.lang.Object... varargs)  
      void put​(java.lang.String typeName, java.lang.Class<? extends T> cls, java.lang.Class<?>... varargs)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectFactory

        public ObjectFactory()
    • Method Detail

      • put

        public void put​(java.lang.String typeName,
                        java.lang.Class<? extends T> cls,
                        java.lang.Class<?>... varargs)
                 throws java.lang.NoSuchMethodException,
                        java.lang.SecurityException
        Throws:
        java.lang.NoSuchMethodException
        java.lang.SecurityException
      • load

        public T load​(java.lang.String name,
                      java.lang.Object... varargs)