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

E13403-03

oracle.jdeveloper.compare
Class IdeTextCompareContributor

java.lang.Object
  extended by oracle.javatools.compare.CompareContributor
      extended by oracle.javatools.compare.algorithm.sequence.SequenceCompareContributor
          extended by oracle.javatools.compare.algorithm.text.TextCompareContributor
              extended by oracle.jdeveloper.compare.IdeTextCompareContributor
All Implemented Interfaces:
IdeCompareContributor
Direct Known Subclasses:
InputStreamTextContributor, TextNodeContributor, URLContributor

public abstract class IdeTextCompareContributor
extends oracle.javatools.compare.algorithm.text.TextCompareContributor
implements IdeCompareContributor

A TextCompareContributor specialization with contextual node support.

Since:
11.1.1.1.0 (Bulldog)

Constructor Summary
IdeTextCompareContributor()
           
 
Method Summary
protected  Node getContextNode()
           
 Node getNode()
          Gets the primary node instance associated with the compare contributor.
 boolean isTextProcessed()
           
 void setContextNode(Node contextNode)
          Allows the contextual node of the compare contributor to be set by the internals of the compare framework when algorithms are executed.
 void setTextProcessed(boolean textProcessed)
           
 
Methods inherited from class oracle.javatools.compare.algorithm.text.TextCompareContributor
addChangeListener, addTextBufferListeners, deleteElement, equal, fireChangeEvent, getDocumentModel, getElement, getIgnoreWhitespace, getLength, getTextBuffer, insertElement, removeChangeListener, replaceElement, setDocumentModel, setIgnoreWhitespace
 
Methods inherited from class oracle.javatools.compare.CompareContributor
addPropertyChangeListener, addPropertyChangeListener, getLongLabel, getPropertyChangeSupport, getShortLabel, getType, removePropertyChangeListener, setLongLabel, setShortLabel, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdeTextCompareContributor

public IdeTextCompareContributor()
Method Detail

setContextNode

public void setContextNode(Node contextNode)
Description copied from interface: IdeCompareContributor
Allows the contextual node of the compare contributor to be set by the internals of the compare framework when algorithms are executed. The contextual node may be returned from IdeCompareContributor.getNode() unless there is a more definite node instance that can be provided by the contributor.

Specified by:
setContextNode in interface IdeCompareContributor
Parameters:
contextNode - the contextual node.

getContextNode

protected final Node getContextNode()

getNode

public Node getNode()
Description copied from interface: IdeCompareContributor
Gets the primary node instance associated with the compare contributor.

Specified by:
getNode in interface IdeCompareContributor
Returns:
the node.

setTextProcessed

public final void setTextProcessed(boolean textProcessed)

isTextProcessed

public final boolean isTextProcessed()

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

E13403-03

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