public class DeltaWordElement extends WordByWordElement
A representation of a word element used by WordBufferingFilter
and its sub-types to represent and manipulate the buffer
of word/space/punctuation elements. This class is useful if you're creating an outfilter which is processing
word/space/punctuation elements.
Constructor and Description |
---|
DeltaWordElement()
Default constructor.
|
DeltaWordElement(Delta delta)
Creates a new Word with the supplied delta.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalName()
Returns the localName for a word element.
|
getAValue, getBValue, getDelta, getUnchangedValue, setAValue, setBValue, setDelta, setUnchangedValue
public DeltaWordElement()
public DeltaWordElement(Delta delta)
delta
- the word element's delta valuepublic java.lang.String getLocalName()
getLocalName
in class WordByWordElement
DeltaWordElement.getLocalName()