net.contextfw.web.application.dom
Class DOMBuilder

java.lang.Object
  extended by net.contextfw.web.application.dom.DOMBuilder

public final class DOMBuilder
extends Object


Constructor Summary
DOMBuilder(String rootName, AttributeSerializer<Object> serializer, net.contextfw.web.application.internal.component.ComponentBuilder componentBuilder)
           
 
Method Summary
 DOMBuilder attr(String name, Object value)
           
 org.dom4j.Element buildDOM()
           
 DOMBuilder child(org.dom4j.Node element)
           
 DOMBuilder child(Object object, Object... buildins)
           
 DOMBuilder descend(String elementName)
           
 DOMBuilder findByXPath(String xpath)
           
 DOMBuilder getByXPath(String xpath)
           
 List<DOMBuilder> listByXPath(String xpath)
           
 DOMBuilder text(Object value)
           
 org.dom4j.Document toDocument()
           
 DOMBuilder unparsed(String html)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMBuilder

public DOMBuilder(String rootName,
                  AttributeSerializer<Object> serializer,
                  net.contextfw.web.application.internal.component.ComponentBuilder componentBuilder)
Method Detail

attr

public DOMBuilder attr(String name,
                       Object value)

child

public DOMBuilder child(org.dom4j.Node element)

child

public DOMBuilder child(Object object,
                        Object... buildins)

buildDOM

public org.dom4j.Element buildDOM()

findByXPath

public DOMBuilder findByXPath(String xpath)

getByXPath

public DOMBuilder getByXPath(String xpath)

listByXPath

public List<DOMBuilder> listByXPath(String xpath)

toDocument

public org.dom4j.Document toDocument()

text

public DOMBuilder text(Object value)

unparsed

public DOMBuilder unparsed(String html)

descend

public DOMBuilder descend(String elementName)


Copyright © 2011. All Rights Reserved.