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