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 boolean
equals(Object obj)
DocumentSource
getDocumentSource()
String
getString()
Returns the string representation of this element.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
WordElement
public WordElement(DocumentSource source, String word, String gutter)
-
-
Method Detail
-
getString
public String getString()
Description copied from interface:Document.Element
Returns the string representation of this element. If the elements were generated originally from a string they should return the exact string again.- Specified by:
getString
in interfaceDocument.Element
- Returns:
- the string of this element.
-
getDocumentSource
public DocumentSource getDocumentSource()
-
-