com.atlassian.confluence.diff
Class CharacterChunk

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

public class CharacterChunk
extends Object
implements DiffChunk, Serializable

Represents a group of characters sharing the same diff type - unchanged, added or deleted.

See Also:
Serialized Form

Constructor Summary
CharacterChunk(DiffType type, String text)
           
 
Method Summary
 List<? extends DiffChunk> getChildren()
           
 String getText()
           
 DiffType getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharacterChunk

public CharacterChunk(DiffType type,
                      String text)
Method Detail

getType

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

getText

public String getText()

getChildren

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.