org.skyscreamer.yoga.model
Class XhtmlHierarchyModelImpl

java.lang.Object
  extended by org.skyscreamer.yoga.model.XhtmlHierarchyModelImpl
All Implemented Interfaces:
HierarchicalModel<org.dom4j.Element>, ListHierarchicalModel<org.dom4j.Element>, MapHierarchicalModel<org.dom4j.Element>

public class XhtmlHierarchyModelImpl
extends Object
implements MapHierarchicalModel<org.dom4j.Element>, ListHierarchicalModel<org.dom4j.Element>


Constructor Summary
XhtmlHierarchyModelImpl(org.dom4j.Element element)
           
 
Method Summary
 void addProperty(String name, Object result)
           
 void addValue(Object instance)
           
 ListHierarchicalModel<org.dom4j.Element> createChildList(String property)
           
 MapHierarchicalModel<org.dom4j.Element> createChildMap()
           
 MapHierarchicalModel<org.dom4j.Element> createChildMap(String property)
           
 org.dom4j.Element getUnderlyingModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XhtmlHierarchyModelImpl

public XhtmlHierarchyModelImpl(org.dom4j.Element element)
Method Detail

addProperty

public void addProperty(String name,
                        Object result)
Specified by:
addProperty in interface MapHierarchicalModel<org.dom4j.Element>

createChildMap

public MapHierarchicalModel<org.dom4j.Element> createChildMap(String property)
Specified by:
createChildMap in interface MapHierarchicalModel<org.dom4j.Element>

createChildMap

public MapHierarchicalModel<org.dom4j.Element> createChildMap()
Specified by:
createChildMap in interface ListHierarchicalModel<org.dom4j.Element>

createChildList

public ListHierarchicalModel<org.dom4j.Element> createChildList(String property)
Specified by:
createChildList in interface MapHierarchicalModel<org.dom4j.Element>

addValue

public void addValue(Object instance)
Specified by:
addValue in interface ListHierarchicalModel<org.dom4j.Element>

getUnderlyingModel

public org.dom4j.Element getUnderlyingModel()
Specified by:
getUnderlyingModel in interface HierarchicalModel<org.dom4j.Element>


Copyright © 2012. All Rights Reserved.