lux.index
Class QNameTextMapper
java.lang.Object
lux.index.XmlPathMapper
lux.index.QNameTextMapper
- All Implemented Interfaces:
- StAXHandler
public class QNameTextMapper
- extends XmlPathMapper
Accumulates text for each element and each attribute.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QNameTextMapper
public QNameTextMapper()
getValues
public ArrayList<String> getValues()
getNames
public ArrayList<String> getNames()
reset
public void reset()
- Description copied from interface:
StAXHandler
- reinitialize any internal state and prepare the handler for re-use
- Specified by:
reset in interface StAXHandler- Overrides:
reset in class XmlPathMapper
handleEvent
public void handleEvent(XMLStreamReader reader,
int eventType)
- Description copied from interface:
StAXHandler
- This method receives StAX events. It should never call XMLStreamReader.next()
since if it does, its caller will miss the event.
- Specified by:
handleEvent in interface StAXHandler- Overrides:
handleEvent in class XmlPathMapper
- Parameters:
reader - the reader from which events are being readeventType - the XML stream event type
Copyright © 2013. All Rights Reserved.