public class Test extends java.lang.Object implements DeXSSChangeListener
Constructor and Description |
---|
Test() |
Modifier and Type | Method and Description |
---|---|
void |
logXSSChange(java.lang.String message)
Called when a change happens but there is no other information.
|
void |
logXSSChange(java.lang.String message,
java.lang.String item1)
Called when a change happens and there is one other informational item.
|
void |
logXSSChange(java.lang.String message,
java.lang.String item1,
java.lang.String item2)
Called when a change happens and there are two informational items.
|
static void |
main(java.lang.String[] argv)
This command-line test program processes the specified files or literals, and for each one
prints to System.out the following:
the file name (if any)
Any change messages from
DeXSSChangeListener
Serialized XML result
A summary indicating whether the input changed or not (based on whether there were any XSSChangeListener messages)
TODO: A better test and regression harness. |
public void logXSSChange(java.lang.String message)
DeXSSChangeListener
logXSSChange
in interface DeXSSChangeListener
message
- Main messagepublic void logXSSChange(java.lang.String message, java.lang.String item1)
DeXSSChangeListener
logXSSChange
in interface DeXSSChangeListener
message
- Main messageitem1
- Information itempublic void logXSSChange(java.lang.String message, java.lang.String item1, java.lang.String item2)
DeXSSChangeListener
logXSSChange
in interface DeXSSChangeListener
message
- Main messageitem1
- Information item 1item2
- Information item 2public static void main(java.lang.String[] argv) throws java.lang.Exception
DeXSSChangeListener
argv
- Command-line args are files to process, or if first arg is hypen, strings to process.java.lang.Exception