public class DilaSolrLocalParser extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
DilaSolrLocalParser()
Initializes and launches the parsing of the local cards (public
constructor)
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Event received when the analyzer encounters text (between two tags)
|
void |
endDocument()
Event received at the end of the parsing operation
|
void |
endElement(String uri,
String localName,
String qName)
Event received at the end of an element
|
List<fr.paris.lutece.plugins.search.solr.indexer.SolrItem> |
getLocalSolrItems()
Gets the list of Solr items
|
void |
startDocument()
Event received when starting the parsing operation
|
void |
startElement(String uri,
String localName,
String qName,
Attributes atts)
Event received at the start of an element
|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningpublic DilaSolrLocalParser()
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerSAXException - any SAX exceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerSAXException - any SAX exceptionpublic void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandleruri - the Namespace URIlocalName - the local nameqName - the qualified XML nameatts - the attributes attached to the elementSAXException - any SAX exceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandleruri - the Namespace URIlocalName - the local nameqName - the qualified XML nameSAXException - any SAX exceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerch - the characters from the XML documentstart - the start position in the arraylength - the number of characters to read from the arraySAXException - any SAX exceptionpublic List<fr.paris.lutece.plugins.search.solr.indexer.SolrItem> getLocalSolrItems()
Copyright © 2015 City of Paris. All rights reserved.