public class QNameAttributeImpl extends org.apache.lucene.util.AttributeImpl implements QNameAttribute
QNameAttribute| Constructor and Description |
|---|
QNameAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addQName(QName qname)
add another QName, and reset the counter.
|
void |
clear()
We do *not* clear the state here, since it persists across multiple tokens.
|
void |
clearQNames()
clear the current set of QNames.
|
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
hasNext() |
QName |
next() |
boolean |
onFirst() |
public void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic boolean hasNext()
hasNext in interface QNameAttributepublic QName next()
next in interface QNameAttributepublic void addQName(QName qname)
QNameAttributeaddQName in interface QNameAttributeqname - the QName to associate with the current tokenpublic void clearQNames()
QNameAttributeclearQNames in interface QNameAttributepublic boolean onFirst()
onFirst in interface QNameAttributeCopyright © 2013. All Rights Reserved.