electric.xml.matching
Class Compare

java.lang.Object
  extended byelectric.xml.matching.Compare

public class Compare
extends java.lang.Object

Compare.

Author:
webMethods

Constructor Summary
Compare()
           
 
Method Summary
static void addConstraint(IConstraint constraint)
           
static boolean equals(Document document1, Document document2)
           
static boolean equals(Element element1, Element element2)
           
static boolean equals(java.lang.String string1, java.lang.String string2)
           
static IConstraint getConstraint(java.lang.String name)
           
static boolean matches(Document document, Document filter)
           
static boolean matches(Element element, Element filter)
           
static boolean matches(java.lang.String string, java.lang.String filter, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compare

public Compare()
Method Detail

addConstraint

public static void addConstraint(IConstraint constraint)
Parameters:
constraint -

getConstraint

public static IConstraint getConstraint(java.lang.String name)
Parameters:
name -

matches

public static boolean matches(Document document,
                              Document filter)
Parameters:
document -
filter -

matches

public static boolean matches(Element element,
                              Element filter)
Parameters:
element -
filter -

matches

public static boolean matches(java.lang.String string,
                              java.lang.String filter,
                              java.lang.String name)
Parameters:
string -
filter -
name -

equals

public static boolean equals(Document document1,
                             Document document2)
Parameters:
document1 -
document2 -

equals

public static boolean equals(Element element1,
                             Element element2)
Parameters:
element1 -
element2 -

equals

public static boolean equals(java.lang.String string1,
                             java.lang.String string2)
Parameters:
string1 -
string2 -


copyright© 2001-2004 by webMethods All Rights Reserved.