| org.apache.cocoon.transformation.AbstractTransformer org.apache.cocoon.transformation.LuceneIndexTransformerOptimized
Inner Class :class IndexHelperField | |
Inner Class :class IndexerConfiguration | |
Method Summary | |
public void | characters(char[] ch, int start, int length) | public void | configure(Configuration conf) Configure the transformer. | public void | contextualize(Context context) | public void | endDocument() | public void | endElement(String namespaceURI, String localName, String qName) | public void | endPrefixMapping(String prefix) End the scope of a prefix-URI mapping. | public Serializable | getKey() Generate the unique key. | public SourceValidity | getValidity() Generate the validity object. | public void | recycle() | public void | service(ServiceManager manager) | public void | setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) Setup the transformer. | public void | startDocument() | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) | public void | startPrefixMapping(String prefix, String uri) Begin the scope of a prefix-URI Namespace mapping. |
ANALYZER_CLASSNAME_CONFIG | final public static String ANALYZER_CLASSNAME_CONFIG(Code) | | |
ANALYZER_CLASSNAME_DEFAULT | final public static String ANALYZER_CLASSNAME_DEFAULT(Code) | | |
ANALYZER_CLASSNAME_PARAMETER | final public static String ANALYZER_CLASSNAME_PARAMETER(Code) | | |
DIRECTORY_CONFIG | final public static String DIRECTORY_CONFIG(Code) | | |
DIRECTORY_DEFAULT | final public static String DIRECTORY_DEFAULT(Code) | | |
DIRECTORY_PARAMETER | final public static String DIRECTORY_PARAMETER(Code) | | |
LUCENE_DOCUMENT_ELEMENT | final public static String LUCENE_DOCUMENT_ELEMENT(Code) | | |
LUCENE_DOCUMENT_URL_ATTRIBUTE | final public static String LUCENE_DOCUMENT_URL_ATTRIBUTE(Code) | | |
LUCENE_ELAPSED_TIME_ATTRIBUTE | final public static String LUCENE_ELAPSED_TIME_ATTRIBUTE(Code) | | |
LUCENE_ELEMENT_ATTR_STORE_VALUE | final public static String LUCENE_ELEMENT_ATTR_STORE_VALUE(Code) | | |
LUCENE_ELEMENT_ATTR_TO_TEXT_ATTRIBUTE | final public static String LUCENE_ELEMENT_ATTR_TO_TEXT_ATTRIBUTE(Code) | | |
LUCENE_QUERY_ANALYZER_ATTRIBUTE | final public static String LUCENE_QUERY_ANALYZER_ATTRIBUTE(Code) | | |
LUCENE_QUERY_CREATE_ATTRIBUTE | final public static String LUCENE_QUERY_CREATE_ATTRIBUTE(Code) | | |
LUCENE_QUERY_DIRECTORY_ATTRIBUTE | final public static String LUCENE_QUERY_DIRECTORY_ATTRIBUTE(Code) | | |
LUCENE_QUERY_ELEMENT | final public static String LUCENE_QUERY_ELEMENT(Code) | | |
LUCENE_QUERY_MERGE_FACTOR_ATTRIBUTE | final public static String LUCENE_QUERY_MERGE_FACTOR_ATTRIBUTE(Code) | | |
MERGE_FACTOR_CONFIG | final public static String MERGE_FACTOR_CONFIG(Code) | | |
MERGE_FACTOR_DEFAULT | final public static int MERGE_FACTOR_DEFAULT(Code) | | |
MERGE_FACTOR_PARAMETER | final public static String MERGE_FACTOR_PARAMETER(Code) | | |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | |
configure | public void configure(Configuration conf) throws ConfigurationException(Code) | | Configure the transformer. The configuration parameters are stored as
general defaults, which may be over-ridden by parameters specified as
parameters in the sitemap pipeline, or by attributes of the query
element(s) in the XML input document.
|
contextualize | public void contextualize(Context context) throws ContextException(Code) | | Contextualize this class
|
endPrefixMapping | public void endPrefixMapping(String prefix) throws SAXException(Code) | | End the scope of a prefix-URI mapping.
Parameters: prefix - The prefix that was being mapping. |
getKey | public Serializable getKey()(Code) | | Generate the unique key. This key must be unique inside the space of this
component.
The generated key |
getValidity | public SourceValidity getValidity()(Code) | | Generate the validity object.
The generated validity object or null if thecomponent is currently not cacheable. |
recycle | public void recycle()(Code) | | |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
setup | public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException(Code) | | Setup the transformer. Called when the pipeline is assembled. The
parameters are those specified as child elements of the
<map:transform> element in the sitemap. These
parameters are optional: If no parameters are specified here then the
defaults are supplied by the component configuration. Any parameters
specified here may be over-ridden by attributes of the lucene:index
element in the input document.
|
startPrefixMapping | public void startPrefixMapping(String prefix, String uri) throws SAXException(Code) | | Begin the scope of a prefix-URI Namespace mapping.
Parameters: prefix - The Namespace prefix being declared. Parameters: uri - The Namespace URI the prefix is mapped to. |
|
|