public class Dom4jAccessor extends Object implements PropertyAccessor
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
Dom4jAccessor(String nodeName,
Type propertyType,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
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
|
public Dom4jAccessor(String nodeName, Type propertyType, SessionFactoryImplementor factory)
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 propertyNameCopyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved