com.starteam.diff
Class HTMLTableDiffWriter

java.lang.Object
  extended by com.starteam.diff.EditListWriter
      extended by com.starteam.diff.HTMLDiffWriter
          extended by com.starteam.diff.HTMLTableDiffWriter
Direct Known Subclasses:
HTMLInterleavedDiffWriter, HTMLStereoDiffWriter

public abstract class HTMLTableDiffWriter
extends HTMLDiffWriter

Shared implementation for HTMLInterleavedDiffWriter and HTMLStereoDiffWriter.


Field Summary
 
Fields inherited from class com.starteam.diff.HTMLDiffWriter
DEFAULT_SPACES_PER_TAB
 
Method Summary
 void deleteLines(int sourceStart, int targetStart, int length)
          called when lines are deleted
 void insertLines(int sourceStart, int targetStart, int length)
          called when lines are inserted
 void replaceLines(int sourcePos, int sourceLen, int targetPos, int targetLen)
          Called when lines in the source are replaced by lines in the target.
 void unchangedLines(int sourceStart, int targetStart, int length)
          HTML Line template parameters: 0: NavLinks 1: ChangeType 2: UNUSED (was: Left Cell CSS) 3: UNUSED (was: Left Text Span CSS) 4: Left Linenum 5: Left Text 6: UNUSED (was: Right Cell CSS) 7: UNUSED (was: Right Text Span CSS) 8: Right Linenum 9: Right Text 10: Left Linenum Cell CSS 11: Left Linenum CSS 12: Right Linenum Cell CSS 13: Right Linenum CSS When an original line from the source carries over into the rebuilt output
 
Methods inherited from class com.starteam.diff.HTMLDiffWriter
finish, getAddedSymbolHTML, getApplicationFooterHTML, getApplicationHeaderHTML, getCRHTML, getDeletedSymbolHTML, getEmbedDefaultStyles, getGotoBlankHTML, getGotoBottomHTML, getGotoFirstDiffHTML, getGotoLastDiffHTML, getGotoNextDiffHTML, getGotoPrevDiffHTML, getGotoTopHTML, getInlineDeleteMarkHTML, getInlineInsertMarkHTML, getLFHTML, getNavigateOnEveryChangedLine, getNumContextLines, getPageBaseURL, getPageTitle, getReplacedSymbolHTML, getShowEOLs, getShowInlineDiffs, getShowLineNumbers, getShowUnchangedLines, getSourceFileHTML, getSourceFileURL, getSpacesPerTab, getStyleSheetURL, getTargetFileHTML, getTargetFileURL, getUnchangedSymbolHTML, setAddedSymbolHTML, setApplicationFooterHTML, setApplicationHeaderHTML, setCRHTML, setDeletedSymbolHTML, setEmbedDefaultStyles, setGotoBlankHTML, setGotoBottomHTML, setGotoFirstDiffHTML, setGotoLastDiffHTML, setGotoNextDiffHTML, setGotoPrevDiffHTML, setGotoTopHTML, setInlineDeleteMarkHTML, setInlineInsertMarkHTML, setLFHTML, setNavigateOnEveryChangedLine, setNumContextLines, setPageBaseURL, setPageTitle, setReplacedSymbolHTML, setShowEOLs, setShowInlineDiffs, setShowLineNumbers, setShowUnchangedLines, setSourceFileHTML, setSourceFileURL, setSpacesPerTab, setStyleSheetURL, setTargetFileHTML, setTargetFileURL, setUnchangedSymbolHTML, simpleDiff, start
 
Methods inherited from class com.starteam.diff.EditListWriter
write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unchangedLines

public void unchangedLines(int sourceStart,
                           int targetStart,
                           int length)
                    throws java.io.IOException
HTML Line template parameters: 0: NavLinks 1: ChangeType 2: UNUSED (was: Left Cell CSS) 3: UNUSED (was: Left Text Span CSS) 4: Left Linenum 5: Left Text 6: UNUSED (was: Right Cell CSS) 7: UNUSED (was: Right Text Span CSS) 8: Right Linenum 9: Right Text 10: Left Linenum Cell CSS 11: Left Linenum CSS 12: Right Linenum Cell CSS 13: Right Linenum CSS When an original line from the source carries over into the rebuilt output

Overrides:
unchangedLines in class HTMLDiffWriter
Parameters:
sourceStart - the start line in the source
targetStart - the start line in the target
length - the length of lines to leave unchanged
Throws:
java.io.IOException - an exception on failure

insertLines

public void insertLines(int sourceStart,
                        int targetStart,
                        int length)
                 throws java.io.IOException
called when lines are inserted

Overrides:
insertLines in class HTMLDiffWriter
Parameters:
sourceStart - the start line in the source
targetStart - the start line in the target
length - the number of lines to insert
Throws:
java.io.IOException - an exception on failure

deleteLines

public void deleteLines(int sourceStart,
                        int targetStart,
                        int length)
                 throws java.io.IOException
called when lines are deleted

Overrides:
deleteLines in class HTMLDiffWriter
Parameters:
sourceStart - the start line in the source
targetStart - the start line in the target
length - the number of lines to delete
Throws:
java.io.IOException - an exception on failure

replaceLines

public void replaceLines(int sourcePos,
                         int sourceLen,
                         int targetPos,
                         int targetLen)
                  throws java.io.IOException
Called when lines in the source are replaced by lines in the target.

Overrides:
replaceLines in class HTMLDiffWriter
Parameters:
sourcePos - the start line in the source
sourceLen - the length of the source
targetPos - the start line in the target
targetLen - the length of the target
Throws:
java.io.IOException - an exception on failure


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.