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


Field Summary
 java.lang.String attribute
           
 java.lang.String element
           
 java.lang.String property
           
 java.lang.Class type
           
 
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
 

Field Detail

property

public java.lang.String property

type

public java.lang.Class type

element

public java.lang.String element

attribute

public java.lang.String attribute
Constructor Detail

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 element
type - Always convert this element name to this class. null => look for a bean with the same name as the element
element - the name of the element containing the attribute. null => parent element
attribute - the name of the attribute. null => set as element


Copyright © 2004 Jason Hunter, Brett McLaughlin. All Rights Reserved.