mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
Support for DOMSource and other Sources
This commit is contained in:
parent
b02126c1cc
commit
9e3b12685b
4 changed files with 72 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue