Package org.hibernate.tuple
Class Dom4jInstantiator
java.lang.Object
org.hibernate.tuple.Dom4jInstantiator
- All Implemented Interfaces:
Serializable,Instantiator
Performs "instantiation" based on DOM4J elements.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDom4jInstantiator(Component component) Dom4jInstantiator(PersistentClass mappingInfo) -
Method Summary
Modifier and TypeMethodDescriptionPerform the requested instantiation.Perform the requested entity instantiation.booleanisInstance(Object object) Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
-
Constructor Details
-
Dom4jInstantiator
-
Dom4jInstantiator
-
-
Method Details
-
instantiate
Description copied from interface:InstantiatorPerform the requested entity instantiation. This form is never called for component instantiation, only entity instantiation.- Specified by:
instantiatein interfaceInstantiator- Parameters:
id- The id of the entity to be instantiated.- Returns:
- An appropriately instantiated entity.
-
instantiate
Description copied from interface:InstantiatorPerform the requested instantiation.- Specified by:
instantiatein interfaceInstantiator- Returns:
- The instantiated data structure.
-
isInstance
Description copied from interface:InstantiatorPerforms check to see if the given object is an instance of the entity or component which this Instantiator instantiates.- Specified by:
isInstancein interfaceInstantiator- Parameters:
object- The object to be checked.- Returns:
- True is the object does represent an instance of the underlying entity/component.
-