public class DomUtilsTest extends Object
| Constructor and Description |
|---|
DomUtilsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
getElementAttributes() |
void |
testAddFolderSlashIfNeeded() |
void |
testGetDocument()
Test get document function.
|
void |
testGetDocumentToString() |
void |
testGetElementByXpath() |
void |
testGetElementString()
Test get string representation of an element.
|
void |
testGetTextValue() |
void |
testRemoveNewLines() |
void |
testRemoveScriptTags() |
void |
testRemoveTags() |
void |
testReplaceString() |
void |
whenGetDocumentToStringNoCharEscape() |
void |
writeAndGetContents() |
public void testGetElementString()
throws IOException,
SAXException
IOExceptionSAXExceptionpublic void testGetElementByXpath()
throws XPathExpressionException,
IOException
XPathExpressionExceptionIOExceptionpublic void testRemoveTags()
throws IOException
IOExceptionpublic void testRemoveScriptTags()
throws IOException
IOExceptionpublic void testGetDocumentToString()
throws IOException
IOExceptionpublic void testGetTextValue()
throws IOException
IOExceptionpublic void testRemoveNewLines()
public void testReplaceString()
public void testAddFolderSlashIfNeeded()
public void getElementAttributes()
throws SAXException,
IOException
SAXExceptionIOExceptionpublic void writeAndGetContents()
throws IOException,
TransformerException,
SAXException
public void testGetDocument()
throws IOException
IOExceptionpublic void whenGetDocumentToStringNoCharEscape()
throws IOException
IOExceptionCopyright © 2007–2014. All rights reserved.