|
||||||||||
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.CoMarquagePublicParser
public class CoMarquagePublicParser
Parser for public cards (comarquage)
Constructor Summary | |
---|---|
CoMarquagePublicParser()
Initializes and launches the parsing of the public 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> |
getPublicDocuments()
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 CoMarquagePublicParser()
Method Detail |
---|
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
- any SAX exceptionpublic void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
- any SAX exceptionpublic 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.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
uri
- the Namespace URIlocalName
- the local nameqName
- the qualified XML nameatts
- the attributes attached to the element
org.xml.sax.SAXException
- any SAX exceptionpublic 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.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
uri
- the Namespace URIlocalName
- the local nameqName
- the qualified XML name
org.xml.sax.SAXException
- any SAX exceptionpublic void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ch
- 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> getPublicDocuments()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |