|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.shell.support.util.XmlRoundTripUtils
public final class XmlRoundTripUtils
Utilities related to round-tripping XML documents
Method Summary | |
---|---|
static String |
calculateUniqueKeyFor(Element element)
Create a base 64 encoded SHA1 hash key for a given XML element. |
static boolean |
compareDocuments(Document original,
Document proposed)
This method will compare the original document with the proposed document and return true if adjustments to the original document were necessary. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String calculateUniqueKeyFor(Element element)
element
- The element to create the base 64 encoded hash key for
public static boolean compareDocuments(Document original, Document proposed)
original
- document as read from the file systemproposed
- document as determined by the JspViewManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |