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, AttributeHandler attributes)
           
 
Method Summary
 DOMBuilder attr(String name, Object value)
           
 org.dom4j.Element buildDOM()
           
 DOMBuilder child(CSimpleElement element)
           
 DOMBuilder child(org.dom4j.Element element)
           
 DOMBuilder child(String elementName, CSimpleElement element)
           
 DOMBuilder descend(String elementName)
           
 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,
                  AttributeHandler attributes)
Method Detail

child

public DOMBuilder child(String elementName,
                        CSimpleElement element)

attr

public DOMBuilder attr(String name,
                       Object value)

child

public DOMBuilder child(CSimpleElement element)

child

public DOMBuilder child(org.dom4j.Element element)

buildDOM

public org.dom4j.Element buildDOM()

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 © 2010. All Rights Reserved.