|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openharbor.beck.unmarshal.DefaultObjectFactory
Instantiates objects using Class.newInstance().
Field Summary | |
protected org.apache.commons.logging.Log |
log
|
Constructor Summary | |
DefaultObjectFactory()
|
Method Summary | |
java.lang.Object |
newObject(Unmarshaller unmarshaller)
Instantiate an object to be mapped from XML. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.commons.logging.Log log
Constructor Detail |
public DefaultObjectFactory()
Method Detail |
public java.lang.Object newObject(Unmarshaller unmarshaller) throws java.lang.Exception
ObjectFactory
newObject
in interface ObjectFactory
unmarshaller
- contains information about the XML and the expected object class.
java.lang.InstantiationException
- if the given class is an
interface or abstract class.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |