Class XmlObjectFactory<T>


public class XmlObjectFactory<T>
extends DocumentFactory<T>
Factory class for creating new instances. Note that if a type can be inferred from the XML being loaded (for example, by recognizing the document element QName), then the instance returned by a factory will have the inferred type. Otherwise the Factory will returned an untyped document.