net.contextfw.web.application.dom
Class DOMBuilder
java.lang.Object
net.contextfw.web.application.dom.DOMBuilder
public final class DOMBuilder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMBuilder
public DOMBuilder(String rootName,
AttributeSerializer<Object> serializer,
net.contextfw.web.application.internal.component.ComponentBuilder componentBuilder)
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.