Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amouat/diffxml
/ types & classes
Types & classes
40 in github.com/amouat/diffxml
⨍
Functions
307
◇
Types & classes
40
Class
ChildNumber
Class to hold and calculate DOM and XPath child numbers of node. TODO: Needs a refactoring to deal with ignoring nodes in a cleaner way. TODO: Check
src/java/org/diffxml/diffxml/fmes/ChildNumber.java:32
Class
ChildNumberTest
Test class for ChildNumber. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/ChildNumberTest.java:44
Class
DOMOps
Utility class for DOM stuff. @author Adrian Mouat
src/java/org/diffxml/diffxml/DOMOps.java:48
Class
DULConstants
Constants used in DUL Deltas. @author Adrian Mouat
src/java/org/diffxml/dul/DULConstants.java:27
Class
DULDelta
Handle operations related to creating a DUL delta. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/delta/DULDelta.java:42
Class
DULDeltaTest
Test Delta creates elements DUL elements properly. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/delta/DULDeltaTest.java:43
Class
DULPatch
src/java/org/diffxml/patchxml/DULPatch.java:40
Class
DULPatchTest
Class to test applying DUL Patches. @author Adrian Mouat
src/test/org/diffxml/patchxml/DULPatchTest.java:39
Interface
DeltaIF
Interface for Delta formats. Implement this to plug-in a new delta format. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/delta/DeltaIF.java:32
Class
DeltaInitialisationException
Indicates the Delta document could not be created. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/delta/DeltaInitialisationException.java:27
Interface
Diff
This is the interface all differencing algorithms should implement. The class defines two diff methods for handling File and String input. The resul
src/java/org/diffxml/diffxml/Diff.java:39
Class
DiffException
Indicates a failure in during Diff. @author Adrian Mouat
src/java/org/diffxml/diffxml/DiffException.java:28
Class
DiffFactory
DiffFactory creates Diff instances. @author Adrian Mouat
src/java/org/diffxml/diffxml/DiffFactory.java:30
Class
DiffXML
DiffXML finds the differences between 2 XML files. This class takes input from the command line and starts the differencing algorithm. @author
src/java/org/diffxml/diffxml/DiffXML.java:37
Class
DiffXMLTest
src/test/org/diffxml/diffxml/DiffXMLTest.java:38
Class
DocumentCreationException
Indicates a fatal failure in creating a document. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/DocumentCreationException.java:28
Class
EditScript
Creates the edit script for the fmes algorithm. Uses the algorithm described in the paper "Change Detection in Hierarchically Structure Information".
src/java/org/diffxml/diffxml/fmes/EditScript.java:47
Class
EditScriptTest
Test main EditScript class and methods. TODO: Write helper method for these tests e.g. checkOpIsInsert(3, b, /node()[1]) @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/EditScriptTest.java:40
Class
FilesEndAFilter
Returns only files ending in "A.xml".
src/test/org/diffxml/diffxml/SuiteRunner.java:35
Class
FindPosition
Finds the position to insert a Node at. Calculates XPath, DOM and character position. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/FindPosition.java:32
Class
FindPositionTest
Test FindPosition. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/FindPositionTest.java:35
Class
Fmes
Fmes finds the differences between two DOM documents. Uses the Fast Match Edit Script algorithm (fmes). Output is a DOM document representing the dif
src/java/org/diffxml/diffxml/fmes/Fmes.java:48
Class
Match
Solves the "good matchings" problem for the FMES algorithm. Essentially pairs nodes that match between documents. Uses the "fast match" algorithm is
src/java/org/diffxml/diffxml/fmes/Match.java:54
Class
MatchTest
Class to test matching algorithm. TODO: Add more tests for similar docs and other node types. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/MatchTest.java:39
Class
NodeDepth
Associates depth with a node. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/NodeDepth.java:30
Class
NodeDepthComparator
Comparator for NodeInfo objects. Based on reverse depth.
src/java/org/diffxml/diffxml/fmes/NodeDepthComparator.java:30
Class
NodeDepthTest
Test class for NodeDepth. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/NodeDepthTest.java:36
Class
NodeFifo
Implements a First In First Out list. Equivalent to a stack where elements are removed from the opposite end to where the are added. Hence the Stack
src/java/org/diffxml/diffxml/fmes/NodeFifo.java:38
Class
NodeFifoTest
Test the NodeFifo works. Essentially a first-in-first-out form a stack with extra Node operations. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/NodeFifoTest.java:38
Class
NodeOps
Class to handle general diffxml operations on Nodes.
src/java/org/diffxml/diffxml/fmes/NodeOps.java:32
Class
NodeOpsTest
Class to test helper functions in NodeOps. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/NodeOpsTest.java:49
Class
NodePairs
Class to hold pairs of nodes. TODO: Test if any performance benefit from using UserData.
src/java/org/diffxml/diffxml/fmes/NodePairs.java:29
Class
NodePairsTest
Test the NodePairs datatype works correctly. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/NodePairsTest.java:41
Class
NodeSequence
Handles getting Node sequences and computing LCS on them.
src/java/org/diffxml/diffxml/fmes/NodeSequence.java:35
Class
NodeSequenceTest
Test for NodeSequence class. @author Adrian Mouat
src/test/org/diffxml/diffxml/fmes/NodeSequenceTest.java:37
Class
ParserInitialisationException
Indicates a failure in configuring the parser. @author Adrian Mouat
src/java/org/diffxml/diffxml/fmes/ParserInitialisationException.java:27
Class
PatchFormatException
Indicates a formatting error in a delta. @author Adrian Mouat
src/java/org/diffxml/patchxml/PatchFormatException.java:28
Class
PatchXML
Applies a DUL patch to an XML document.
src/java/org/diffxml/patchxml/PatchXML.java:39
Class
SuiteRunner
Runs all the test cases in the suite. Ant seems to insist on the extends :( @author Adrian Mouat
src/test/org/diffxml/diffxml/SuiteRunner.java:26
Class
TestDocHelper
Helper class for XML tests. @author Adrian Mouat
src/test/org/diffxml/diffxml/TestDocHelper.java:40