001/*
002 *  Copyright 2016 Anyware Services
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package org.ametys.plugins.extraction;
017
018/**
019 * Constants related to extraction.
020 */
021public interface ExtractionConstants
022{
023    /** Plugin name to use for I18nizable texts */
024    public static final String PLUGIN_NAME = "plugin.extraction";
025    
026    /** Path of the directory containing definition files */ 
027    public static final String DEFINITIONS_DIR = "context://WEB-INF/param/extraction/";
028    
029    /** Path of the directory containing stylesheets */ 
030    public static final String XSLT_DIR = "context://WEB-INF/stylesheets/extraction/";
031    
032    /** query component tag */
033    public static final String QUERY_COMPONENT_TAG = "query";
034    
035    /** thesaurus component tag */
036    public static final String THESAURUS_COMPONENT_TAG = "thesaurus";
037    
038    /** count component tag */
039    public static final String COUNT_COMPONENT_TAG = "count";
040    
041    /** mapping query component tag */
042    public static final String MAPPING_QUERY_COMPONENT_TAG = "mapping-query";
043    
044    /** clauses variables tag */
045    public static final String CLAUSES_VARIABLES_TAG = "clauses-variables";
046    
047    /** optinal columns tag */
048    public static final String OPTIONAL_COLUMNS_TAG = "optional-columns";
049    
050    /** delimiter used in dialog inputs for string collections */
051    public static final String STRING_COLLECTIONS_INPUT_DELEMITER = ",";
052
053}