A C D E G H I O S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ADDED - org.xwiki.diff.display.InlineDiffChunk.Type
-
A chunk that has been added.
- ADDED - org.xwiki.diff.display.UnifiedDiffElement.Type
-
An element that was added.
C
- CONTEXT - org.xwiki.diff.display.UnifiedDiffElement.Type
-
An element that was left unmodified.
D
- DELETED - org.xwiki.diff.display.InlineDiffChunk.Type
-
A chunk that has been removed.
- DELETED - org.xwiki.diff.display.UnifiedDiffElement.Type
-
An element that was removed.
- display(DiffResult<E>) - Method in interface org.xwiki.diff.display.InlineDiffDisplayer
-
Displays the given diff result as an in-line diff.
- display(DiffResult<E>) - Method in interface org.xwiki.diff.display.UnifiedDiffDisplayer
-
Displays the given diff result as an unified diff using the default configuration.
- display(DiffResult<E>, List<Conflict<E>>) - Method in interface org.xwiki.diff.display.UnifiedDiffDisplayer
-
Displays the given diff result as an unified diff using the default configuration and the list of conflicts.
- display(DiffResult<E>, List<Conflict<E>>, UnifiedDiffConfiguration<E, F>) - Method in interface org.xwiki.diff.display.UnifiedDiffDisplayer
-
Displays the given diff result as an unified diff using the provided configuration.
- display(DiffResult<E>, UnifiedDiffConfiguration<E, F>) - Method in interface org.xwiki.diff.display.UnifiedDiffDisplayer
-
Displays the given diff result as an unified diff using the provided configuration.
E
- equals(Object) - Method in class org.xwiki.diff.display.InlineDiffChunk
- equals(Object) - Method in class org.xwiki.diff.display.UnifiedDiffElement
G
- getChunks() - Method in class org.xwiki.diff.display.UnifiedDiffElement
- getConflict() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- getContextSize() - Method in class org.xwiki.diff.display.UnifiedDiffConfiguration
- getCurrentElement() - Method in class org.xwiki.diff.display.UnifiedDiffConflictElement
- getDefaultConfiguration() - Method in interface org.xwiki.diff.display.UnifiedDiffDisplayer
- getElements() - Method in class org.xwiki.diff.display.InlineDiffChunk
- getIndex() - Method in class org.xwiki.diff.display.UnifiedDiffElement
- getNextElement() - Method in class org.xwiki.diff.display.UnifiedDiffConflictElement
- getNextSize() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- getNextStart() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- getPreviousElement() - Method in class org.xwiki.diff.display.UnifiedDiffConflictElement
- getPreviousSize() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- getPreviousStart() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- getReference() - Method in class org.xwiki.diff.display.UnifiedDiffConflictElement
- getSplitter() - Method in class org.xwiki.diff.display.UnifiedDiffConfiguration
- getSymbol() - Method in enum org.xwiki.diff.display.UnifiedDiffElement.Type
- getType() - Method in class org.xwiki.diff.display.InlineDiffChunk
- getType() - Method in class org.xwiki.diff.display.UnifiedDiffElement
- getValue() - Method in class org.xwiki.diff.display.UnifiedDiffElement
H
- hashCode() - Method in class org.xwiki.diff.display.InlineDiffChunk
- hashCode() - Method in class org.xwiki.diff.display.UnifiedDiffElement
I
- InlineDiffChunk<E> - Class in org.xwiki.diff.display
-
A group of consecutive elements that are targeted by the same operation (add, remove, keep) in an in-line diff.
- InlineDiffChunk(InlineDiffChunk.Type, List<E>) - Constructor for class org.xwiki.diff.display.InlineDiffChunk
-
Creates a new chunk with the specified type and elements.
- InlineDiffChunk.Type - Enum in org.xwiki.diff.display
-
The possible types of chunks you can find within an in-line diff.
- InlineDiffDisplayer - Interface in org.xwiki.diff.display
-
Displays a
DiffResult
as an in-line diff. - isAdded() - Method in class org.xwiki.diff.display.InlineDiffChunk
- isAdded() - Method in class org.xwiki.diff.display.UnifiedDiffElement
- isConflicting() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- isDeleted() - Method in class org.xwiki.diff.display.InlineDiffChunk
- isDeleted() - Method in class org.xwiki.diff.display.UnifiedDiffElement
- isUnmodified() - Method in class org.xwiki.diff.display.InlineDiffChunk
O
- org.xwiki.diff.display - package org.xwiki.diff.display
S
- setChunks(List<InlineDiffChunk<F>>) - Method in class org.xwiki.diff.display.UnifiedDiffElement
-
Sets the list of chunks of sub-elements that form this element.
- setConflict(Conflict<E>) - Method in class org.xwiki.diff.display.UnifiedDiffBlock
-
Sets the conflict related to this block element.
- setContextSize(int) - Method in class org.xwiki.diff.display.UnifiedDiffConfiguration
-
Sets the number of unmodified elements to display before and after a chunk of modified elements.
- setSplitter(Splitter<E, F>) - Method in class org.xwiki.diff.display.UnifiedDiffConfiguration
-
Sets The object used to split the modified elements into sub-elements in order to produce a more detailed diff.
- split(E) - Method in interface org.xwiki.diff.display.Splitter
-
Splits the given composite object in multiple parts of the same type.
- Splitter<E,F> - Interface in org.xwiki.diff.display
-
Splits a composite object in multiple parts of the same type.
T
- toString() - Method in class org.xwiki.diff.display.InlineDiffChunk
- toString() - Method in class org.xwiki.diff.display.UnifiedDiffBlock
- toString() - Method in class org.xwiki.diff.display.UnifiedDiffElement
U
- UnifiedDiffBlock<E,F> - Class in org.xwiki.diff.display
-
Represents a list of
UnifiedDiffElement
s that share the same context. - UnifiedDiffBlock() - Constructor for class org.xwiki.diff.display.UnifiedDiffBlock
- UnifiedDiffConfiguration<E,F> - Class in org.xwiki.diff.display
-
Configuration for
UnifiedDiffDisplayer
. - UnifiedDiffConfiguration() - Constructor for class org.xwiki.diff.display.UnifiedDiffConfiguration
- UnifiedDiffConflictElement<E> - Class in org.xwiki.diff.display
-
This is a
Conflict
representation for the unified diff. - UnifiedDiffConflictElement(Conflict<E>) - Constructor for class org.xwiki.diff.display.UnifiedDiffConflictElement
-
Creates a conflict element based on a given conflict and the index of the
UnifiedDiffElement
. - UnifiedDiffDisplayer - Interface in org.xwiki.diff.display
-
Displays a
DiffResult
as a unified diff. - UnifiedDiffElement<E,F> - Class in org.xwiki.diff.display
-
Wraps the elements that are compared to produce a diff, holding information like their index and type of change (added, removed, unmodified) to simplify the process of displaying them in an unified diff.
- UnifiedDiffElement(int, UnifiedDiffElement.Type, E) - Constructor for class org.xwiki.diff.display.UnifiedDiffElement
-
Creates a new element in a unified diff.
- UnifiedDiffElement.Type - Enum in org.xwiki.diff.display
-
The possible types of elements you can find within a unified diff.
- UNMODIFIED - org.xwiki.diff.display.InlineDiffChunk.Type
-
A chunk that stays unmodified.
V
- valueOf(String) - Static method in enum org.xwiki.diff.display.InlineDiffChunk.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.xwiki.diff.display.UnifiedDiffElement.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.xwiki.diff.display.InlineDiffChunk.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.xwiki.diff.display.UnifiedDiffElement.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages