org.jdom.contrib.beans
Class BeanMapper.Mapping
java.lang.Object
org.jdom.contrib.beans.BeanMapper.Mapping
- Enclosing class:
- BeanMapper
public class BeanMapper.Mapping
- extends java.lang.Object
Constructor Summary |
BeanMapper.Mapping(java.lang.String property,
java.lang.Class type,
java.lang.String element,
java.lang.String attribute)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
property
public java.lang.String property
type
public java.lang.Class type
element
public java.lang.String element
attribute
public java.lang.String attribute
BeanMapper.Mapping
public BeanMapper.Mapping(java.lang.String property,
java.lang.Class type,
java.lang.String element,
java.lang.String attribute)
- Parameters:
property
- the name of the property. null => look for
property with same name as the elementtype
- Always convert this element name to this class.
null => look for a bean with the same name as the elementelement
- the name of the element containing the attribute.
null => parent elementattribute
- the name of the attribute. null => set as element
Copyright © 2007 Jason Hunter, Brett McLaughlin. All Rights Reserved.