nl.gx.webmanager.services.contentrepresentation.difference
Class Utilities

java.lang.Object
  extended by nl.gx.webmanager.services.contentrepresentation.difference.Utilities

public class Utilities
extends java.lang.Object

Utilities for manipulating content representation objects.

Author:
simon

Constructor Summary
Utilities()
           
 
Method Summary
static Difference diff(ContentRepresentation first, ContentRepresentation second)
          Compare two content representations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

diff

public static Difference diff(ContentRepresentation first,
                              ContentRepresentation second)
Compare two content representations

Parameters:
first -
second -
Returns:
Difference object summerizing the differences. This will be an instance of Added, Removed, Same or Changed.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.