com.atlassian.renderer.wysiwyg
Class HtmlParserUtil
java.lang.Object
com.atlassian.renderer.wysiwyg.HtmlParserUtil
public abstract class HtmlParserUtil
- extends Object
Utility class for using NekoHTML
http://people.apache.org/~andyc/neko/doc/html/index.html
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlParserUtil
public HtmlParserUtil(String xhtml)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
HtmlParserUtil
public HtmlParserUtil(InputStream in)
getDocumentFragment
public DocumentFragment getDocumentFragment()
getDocument
public Document getDocument()
init
protected abstract void init(org.cyberneko.html.parsers.DOMFragmentParser parser)
findTag
public Node findTag(String name)
getText
public String getText(Node node)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.