Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.compare
Class CompareManager

java.lang.Object
  extended by oracle.jdeveloper.compare.CompareManager

public abstract class CompareManager
extends java.lang.Object

The CompareManager provides a mechanism for extensions to register CompareMethod instances for handling a custom compare type.

Since:
11.1.1.0.0

Field Summary
protected static java.lang.String JNDI_NAME
          The implementation of CompareManager is stored in this JNDI name.
 
Constructor Summary
CompareManager()
           
 
Method Summary
static CompareManager getCompareManager()
          Get the compare manager.
 boolean isContentComparable(java.net.URL url)
          Asks whether the content of the given URL is comparable.
 void registerCompareMethod(CompareMethod compareMethod)
          Registers a CompareMethod with the compare/merge framework.
static void registerXMLNodeClass(java.lang.Class<? extends Element> cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_NAME

protected static final java.lang.String JNDI_NAME
The implementation of CompareManager is stored in this JNDI name.

See Also:
Constant Field Values
Constructor Detail

CompareManager

public CompareManager()
Method Detail

getCompareManager

public static final CompareManager getCompareManager()
Get the compare manager.

Returns:
the singleton compare manager. This may return null if the compare extension has been turned off.

registerCompareMethod

public final void registerCompareMethod(CompareMethod compareMethod)
Registers a CompareMethod with the compare/merge framework.

Parameters:
compareMethod - the method to be registered.

isContentComparable

public final boolean isContentComparable(java.net.URL url)
Asks whether the content of the given URL is comparable.

Parameters:
url - the url.
Returns:
true if the URL represents comparable content.

registerXMLNodeClass

public static final void registerXMLNodeClass(java.lang.Class<? extends Element> cls)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.