|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.property.Dom4jAccessor
public class Dom4jAccessor
Responsible for accessing property values represented as a dom4j Element or Attribute.
Nested Class Summary | |
---|---|
static class |
Dom4jAccessor.AttributeGetter
For nodes like "@bar" |
static class |
Dom4jAccessor.AttributeSetter
For nodes like "@bar" |
static class |
Dom4jAccessor.Dom4jGetter
Defines the strategy for getting property values out of a dom4j Node. |
static class |
Dom4jAccessor.Dom4jSetter
|
static class |
Dom4jAccessor.ElementAttributeGetter
For nodes like "foo/@bar" |
static class |
Dom4jAccessor.ElementAttributeSetter
For nodes like "foo/@bar" |
static class |
Dom4jAccessor.ElementGetter
For nodes like "foo" |
static class |
Dom4jAccessor.ElementSetter
For nodes like "foo" |
static class |
Dom4jAccessor.TextGetter
For nodes like "." |
static class |
Dom4jAccessor.TextSetter
For nodes like "." |
Constructor Summary | |
---|---|
Dom4jAccessor(String nodeName,
Type propertyType,
SessionFactoryImplementor factory)
|
Method Summary | |
---|---|
Getter |
getGetter(Class theClass,
String propertyName)
Create a "getter" for the named attribute |
Setter |
getSetter(Class theClass,
String propertyName)
Create a "setter" for the named attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dom4jAccessor(String nodeName, Type propertyType, SessionFactoryImplementor factory)
Method Detail |
---|
public Getter getGetter(Class theClass, String propertyName) throws PropertyNotFoundException
getGetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.
PropertyNotFoundException
- Indicates a problem interpretting the propertyNamepublic Setter getSetter(Class theClass, String propertyName) throws PropertyNotFoundException
getSetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.
PropertyNotFoundException
- Indicates a problem interpretting the propertyName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |