Save This Page
Home » lucene-3.0.1-src » org.apache.lucene.analysis.tokenattributes » [javadoc | source]
org.apache.lucene.analysis.tokenattributes
public interface: PayloadAttribute [javadoc | source]

All Implemented Interfaces:
    Attribute

All Known Implementing Classes:
    Token, PayloadAttributeImpl

The payload of a Token. See also Payload .
Method from org.apache.lucene.analysis.tokenattributes.PayloadAttribute Summary:
getPayload,   setPayload
Method from org.apache.lucene.analysis.tokenattributes.PayloadAttribute Detail:
 public Payload getPayload()
    Returns this Token's payload.
 public  void setPayload(Payload payload)
    Sets this Token's payload.