org.apache.lucene.benchmark.utils
public class ExtractWikipedia.Parser extends DefaultHandler
Constructor and Description |
---|
ExtractWikipedia.Parser() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
create(String id,
String title,
String time,
String body) |
File |
directory(int count,
File directory) |
void |
endElement(String namespace,
String simple,
String qualified) |
void |
startElement(String namespace,
String simple,
String qualified,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public void startElement(String namespace, String simple, String qualified, Attributes attributes)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public void endElement(String namespace, String simple, String qualified)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.