com.atlassian.confluence.diff
Class WordChunk

java.lang.Object
  extended by com.atlassian.confluence.diff.WordChunk
All Implemented Interfaces:
DiffChunk, java.io.Serializable

public class WordChunk
extends java.lang.Object
implements DiffChunk, java.io.Serializable

Represents a single word of diffed text.

See Also:
Serialized Form

Constructor Summary
WordChunk(DiffType type, java.util.List<CharacterChunk> characterChunks)
           
WordChunk(DiffType type, java.lang.String word)
           
WordChunk(java.lang.String word)
           
 
Method Summary
 java.util.List<CharacterChunk> getChildren()
           
 DiffType getType()
           
 boolean isChangedChunk()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WordChunk

public WordChunk(DiffType type,
                 java.util.List<CharacterChunk> characterChunks)

WordChunk

public WordChunk(java.lang.String word)

WordChunk

public WordChunk(DiffType type,
                 java.lang.String word)
Method Detail

getType

public DiffType getType()
Specified by:
getType in interface DiffChunk

isChangedChunk

public boolean isChangedChunk()

getChildren

public java.util.List<CharacterChunk> getChildren()
Specified by:
getChildren in interface DiffChunk

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.