Class WordsElementsFactory.WordElement
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.diff.WordsElementsFactory.WordElement
-
- All Implemented Interfaces:
Document.Element
- Enclosing class:
- WordsElementsFactory
public static class WordsElementsFactory.WordElement extends Object implements Document.Element
-
-
Constructor Summary
Constructors Constructor Description WordElement(DocumentSource source, String word, String gutter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DocumentSourcegetDocumentSource()StringgetString()Returns the string representation of this element.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
WordElement
public WordElement(DocumentSource source, String word, String gutter)
-
-
Method Detail
-
getString
public String getString()
Description copied from interface:Document.ElementReturns the string representation of this element. If the elements were generated originally from a string they should return the exact string again.- Specified by:
getStringin interfaceDocument.Element- Returns:
- the string of this element.
-
getDocumentSource
public DocumentSource getDocumentSource()
-
-