com.atlassian.confluence.diff
Class CharacterChunk

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

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

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

See Also:
Serialized Form

Constructor Summary
CharacterChunk(DiffType type, java.lang.String text)
           
 
Method Summary
 java.util.List<? extends DiffChunk> getChildren()
           
 java.lang.String getText()
           
 DiffType getType()
           
 java.lang.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,
                      java.lang.String text)
Method Detail

getType

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

getText

public java.lang.String getText()

getChildren

public java.util.List<? extends DiffChunk> 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.