com.atlassian.jira.functest.framework.jsoup
Class JSoupW3CEmitter

java.lang.Object
  extended by com.atlassian.jira.functest.framework.jsoup.JSoupW3CEmitter

public class JSoupW3CEmitter
extends Object

This guy will wrap a Document and produce a W3C DOM tree. JSoup produces DOM like nodes not actual w3c nodes. This class maps them into the w3c world. The DOM tree produced is essentially read only. Many of the DOM operations are unsupported and will throw an unsupported operation exception if called.


Constructor Summary
JSoupW3CEmitter()
           
JSoupW3CEmitter(org.jsoup.nodes.Document document)
           
 
Method Summary
 Document getDocument()
           
static JSoupW3CEmitter parse(String htmlInput)
           
 NodeList select(String cssSelector, Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSoupW3CEmitter

public JSoupW3CEmitter()

JSoupW3CEmitter

public JSoupW3CEmitter(org.jsoup.nodes.Document document)
Method Detail

parse

public static JSoupW3CEmitter parse(String htmlInput)

select

public NodeList select(String cssSelector,
                       Node node)

getDocument

public Document getDocument()


Copyright © 2002-2013 Atlassian. All Rights Reserved.