FileDocCategorySizeDatePackage
Dom4jComponentTuplizer.javaAPI DocHibernate 3.2.51658Thu Jul 13 19:09:20 BST 2006org.hibernate.tuple.component

Dom4jComponentTuplizer

public class Dom4jComponentTuplizer extends AbstractComponentTuplizer
A {@link ComponentTuplizer} specific to the dom4j entity mode.
author
Gavin King
author
Steve Ebersole

Fields Summary
Constructors Summary
public Dom4jComponentTuplizer(org.hibernate.mapping.Component component)

		super(component);
	
Methods Summary
protected org.hibernate.property.GetterbuildGetter(org.hibernate.mapping.Component component, org.hibernate.mapping.Property prop)

		return buildPropertyAccessor(prop).getGetter( null, prop.getName() );
	
protected org.hibernate.tuple.InstantiatorbuildInstantiator(org.hibernate.mapping.Component component)

		return new Dom4jInstantiator( component );
	
private org.hibernate.property.PropertyAccessorbuildPropertyAccessor(org.hibernate.mapping.Property property)

		//TODO: currently we don't know a SessionFactory reference when building the Tuplizer
		//      THIS IS A BUG (embedded-xml=false on component)
		// TODO : fix this after HHH-1907 is complete
		return PropertyAccessorFactory.getDom4jPropertyAccessor( property.getNodeName(), property.getType(), null );
	
protected org.hibernate.property.SetterbuildSetter(org.hibernate.mapping.Component component, org.hibernate.mapping.Property prop)

		return buildPropertyAccessor(prop).getSetter( null, prop.getName() );
	
public java.lang.ClassgetMappedClass()

		return Element.class;