public class PropertyAccessor<BeanType,FieldType> extends Object
Constructor and Description |
---|
PropertyAccessor(Class<BeanType> beanType,
Class<FieldType> propertyType,
String getterName,
String setterName) |
PropertyAccessor(Method getter,
Method setter) |
Modifier and Type | Method and Description |
---|---|
FieldType |
getObject(Object location,
RuntimeContext context,
BeanType instance) |
void |
setObject(XoXMLStreamReader reader,
RuntimeContext context,
BeanType instance,
FieldType value) |
public FieldType getObject(Object location, RuntimeContext context, BeanType instance) throws JAXBException
JAXBException
public void setObject(XoXMLStreamReader reader, RuntimeContext context, BeanType instance, FieldType value) throws JAXBException
JAXBException
Copyright © 2007–2019. All rights reserved.