public class DeltaSpaceElement extends WordByWordElement
A representation of a space 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 |
---|
DeltaSpaceElement()
Default constructor.
|
DeltaSpaceElement(Delta delta)
Creates a new Space with the supplied delta.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalName()
Returns the localName for a space element.
|
getAValue, getBValue, getDelta, getUnchangedValue, setAValue, setBValue, setDelta, setUnchangedValue
public DeltaSpaceElement()
public DeltaSpaceElement(Delta delta)
delta
- the space element's delta valuepublic java.lang.String getLocalName()
getLocalName
in class WordByWordElement
DeltaWordElement.getLocalName()