Package org.hibernate.property
Class Dom4jAccessor
java.lang.Object
org.hibernate.property.Dom4jAccessor
- All Implemented Interfaces:
PropertyAccessor
Responsible for accessing property values represented as a dom4j Element
or Attribute.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor nodes like "@bar"static classFor nodes like "@bar"static classDefines the strategy for getting property values out of a dom4j Node.static classstatic classFor nodes like "foo/@bar"static classFor nodes like "foo/@bar"static classFor nodes like "foo"static classFor nodes like "foo"static classFor nodes like "."static classFor nodes like "." -
Constructor Summary
ConstructorsConstructorDescriptionDom4jAccessor(String nodeName, Type propertyType, SessionFactoryImplementor factory) -
Method Summary
-
Constructor Details
-
Dom4jAccessor
-
-
Method Details
-
getGetter
Create a "getter" for the named attribute- Specified by:
getGetterin interfacePropertyAccessor- Parameters:
theClass- The class on which the property is defined.propertyName- The name of the property.- Returns:
- An appropriate getter.
- Throws:
PropertyNotFoundException- Indicates a problem interpretting the propertyName
-
getSetter
Create a "setter" for the named attribute- Specified by:
getSetterin interfacePropertyAccessor- Parameters:
theClass- The class on which the property is defined.propertyName- The name of the property.- Returns:
- An appropriate setter
- Throws:
PropertyNotFoundException- Indicates a problem interpretting the propertyName
-