|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.apache.cocoon.components.search.LuceneIndexContentHandler
Parse XML and generate lucene document(s)
| Field Summary | |
static java.lang.String |
LUCENE_ATTR_TO_TEXT_ATTRIBUTE
If this attribute is specified on element, values of all attributes if this element added to the text of the element, and to the document body text |
static java.lang.String |
LUCENE_URI
|
| Constructor Summary | |
LuceneIndexContentHandler()
Constructor for the LuceneIndexContentHandler object |
|
| Method Summary | |
java.util.List |
allDocuments()
Description of the Method |
void |
characters(char[] ch,
int start,
int length)
Description of the Method |
void |
endDocument()
Description of the Method |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
Description of the Method |
void |
endPrefixMapping(java.lang.String prefix)
Description of the Method |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Description of the Method |
java.util.Iterator |
iterator()
Description of the Method |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Description of the Method |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Sets the documentLocator attribute of the LuceneIndexContentHandler object |
void |
skippedEntity(java.lang.String name)
Description of the Method |
void |
startDocument()
Description of the Method |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Description of the Method |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String LUCENE_URI
public static final java.lang.String LUCENE_ATTR_TO_TEXT_ATTRIBUTE
| Constructor Detail |
public LuceneIndexContentHandler()
| Method Detail |
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.ContentHandlerlocator - The new documentLocator valuepublic java.util.List allDocuments()
public java.util.Iterator iterator()
public void characters(char[] ch,
int start,
int length)
characters in interface org.xml.sax.ContentHandlerch - Description of Parameterstart - Description of Parameterlength - Description of Parameterpublic void endDocument()
endDocument in interface org.xml.sax.ContentHandler
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
endElement in interface org.xml.sax.ContentHandlernamespaceURI - Description of ParameterlocalName - Description of ParameterqName - Description of Parameterpublic void endPrefixMapping(java.lang.String prefix)
endPrefixMapping in interface org.xml.sax.ContentHandlerprefix - Description of Parameter
public void ignorableWhitespace(char[] ch,
int start,
int length)
ignorableWhitespace in interface org.xml.sax.ContentHandlerch - Description of Parameterstart - Description of Parameterlength - Description of Parameter
public void processingInstruction(java.lang.String target,
java.lang.String data)
processingInstruction in interface org.xml.sax.ContentHandlertarget - Description of Parameterdata - Description of Parameterpublic void skippedEntity(java.lang.String name)
skippedEntity in interface org.xml.sax.ContentHandlername - Description of Parameterpublic void startDocument()
startDocument in interface org.xml.sax.ContentHandler
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
startElement in interface org.xml.sax.ContentHandlernamespaceURI - Description of ParameterlocalName - Description of ParameterqName - Description of Parameteratts - Description of Parameter
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
startPrefixMapping in interface org.xml.sax.ContentHandlerprefix - Description of Parameteruri - Description of Parameter
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||