|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
fr.paris.lutece.plugins.comarquage.util.parsers.CoMarquageLocalParser
public class CoMarquageLocalParser
Parser for local cards (comarquage)
| Constructor Summary | |
|---|---|
CoMarquageLocalParser()
Initializes and launches the parsing of the local cards (public constructor) |
|
| Method Summary | |
|---|---|
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(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Event received at the end of an element |
java.util.List<org.apache.lucene.document.Document> |
getLocalDocuments()
Gets the list of lucene documents |
void |
startDocument()
Event received when starting the parsing operation |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Event received at the start of an element |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoMarquageLocalParser()
| Method Detail |
|---|
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - any SAX exception
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - any SAX exception
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandleruri - the Namespace URIlocalName - the local nameqName - the qualified XML nameatts - the attributes attached to the element
org.xml.sax.SAXException - any SAX exception
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandleruri - the Namespace URIlocalName - the local nameqName - the qualified XML name
org.xml.sax.SAXException - any SAX exception
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.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 array
org.xml.sax.SAXException - any SAX exceptionpublic java.util.List<org.apache.lucene.document.Document> getLocalDocuments()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||