org.skyscreamer.yoga.mapper
Class XmlHierarchyModel

java.lang.Object
  extended by org.skyscreamer.yoga.mapper.XmlHierarchyModel
All Implemented Interfaces:
HierarchicalModel

public class XmlHierarchyModel
extends Object
implements HierarchicalModel


Constructor Summary
XmlHierarchyModel(org.dom4j.Element element)
           
XmlHierarchyModel(org.dom4j.Element element, String childName)
           
 
Method Summary
 void addSimple(PropertyDescriptor property, Object result)
           
 void addSimple(String name, Object result)
           
 HierarchicalModel createChild(PropertyDescriptor property, Object result)
           
 HierarchicalModel createChild(String name, Object result)
           
 HierarchicalModel createList(PropertyDescriptor property, Object result)
           
 HierarchicalModel createList(String property, Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHierarchyModel

public XmlHierarchyModel(org.dom4j.Element element)

XmlHierarchyModel

public XmlHierarchyModel(org.dom4j.Element element,
                         String childName)
Method Detail

addSimple

public void addSimple(PropertyDescriptor property,
                      Object result)
Specified by:
addSimple in interface HierarchicalModel

addSimple

public void addSimple(String name,
                      Object result)
Specified by:
addSimple in interface HierarchicalModel

createChild

public HierarchicalModel createChild(PropertyDescriptor property,
                                     Object result)
Specified by:
createChild in interface HierarchicalModel

createChild

public HierarchicalModel createChild(String name,
                                     Object result)
Specified by:
createChild in interface HierarchicalModel

createList

public HierarchicalModel createList(PropertyDescriptor property,
                                    Object result)
Specified by:
createList in interface HierarchicalModel

createList

public HierarchicalModel createList(String property,
                                    Object result)
Specified by:
createList in interface HierarchicalModel


Copyright © 2011. All Rights Reserved.