public class ContentHashBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
excludeAttributes |
Constructor and Description |
---|
ContentHashBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
getHash(Element element)
Generates a hash of the content of an element.
|
(package private) List<Attr> |
getSortedAttributes(Element element) |
protected void |
update(MessageDigest md,
Node root) |
protected void |
update(MessageDigest md,
String text) |
public String getHash(Element element)
element
- the element for which to generate a hashprotected void update(MessageDigest md, String text)
protected void update(MessageDigest md, Node root)
Copyright © 2024. All rights reserved.