com.atlassian.confluence.diff
Class WordChunk

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

public class WordChunk
extends Object
implements DiffChunk, Serializable

Represents a single word of diffed text.

See Also:
Serialized Form

Constructor Summary
WordChunk(DiffType type, List<CharacterChunk> characterChunks)
           
WordChunk(DiffType type, String word)
           
WordChunk(String word)
           
 
Method Summary
 List<CharacterChunk> getChildren()
           
 DiffType getType()
           
 boolean isChangedChunk()
           
 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,
                 List<CharacterChunk> characterChunks)

WordChunk

public WordChunk(String word)

WordChunk

public WordChunk(DiffType type,
                 String word)
Method Detail

getType

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

isChangedChunk

public boolean isChangedChunk()

getChildren

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.