Support for DOMSource and other Sources

This commit is contained in:
Andreas Penski (init) 2020-05-07 17:10:33 +02:00
parent b02126c1cc
commit 9e3b12685b
4 changed files with 72 additions and 23 deletions

View file

@ -164,8 +164,10 @@ public class InputFactory {
}
/**
* Reads a test document from a {@link Source}.
*
* Reads a test document from a {@link Source}. <br/>
* Note: computing the hashcode is only supported for {@link StreamSource}. You can not directly use other {@link Source
* Soures}. You need to supply the hashcode for identification then.
*
* @param source source
* @return an {@link Input}
*/
@ -175,6 +177,9 @@ public class InputFactory {
/**
* Reads a test document from a {@link Source} using a specified digest algorithm.
*
* Note: computing the hashcode is only supported for {@link StreamSource}. You can not directly use other {@link Source
* Soures}. You need to supply the hashcode for identification then.
*
* @param source source
* @param digestAlgorithm the digest algorithm