Class DataListCatalogConfig

  • All Implemented Interfaces:
    Serializable, ConfigurableObject, LogObject
    Direct Known Subclasses:
    XMLSchemaCatalogConfig

    public class DataListCatalogConfig
    extends GenericListCatalogConfig<String>
    Class for loading an xml configuration in the form of :
            
     		<!-- 
     			key/value attributes in this list
     			are accessed through the method getGeneralProps()
     		-->
    		<data-catalog-config key1="value1" key2="value">
    			
    
    	 		<!-- 
    	 			data list ids are accessed
    	 			through the method getIdSet() [ex. 1, 2, 3]
    	 			while specific entry list 
    	 			through the method getDataList() [ex. 1A, 1B]
    	 		-->
    			
    			<data-list id="1">
    				<data id="1A"/>
    				<data id="1B"/>
    			</data-list>
    			
    			<data-list id="2">
    				<data id="2A"/>
    			</data-list>
    			
    			<data-list id="3">
    				<data id="3A"/>
    				<data id="3B"/>
    				<data id="3C"/>
    			</data-list>
    			
    		</data-catalog-config>
    	
            
    It is possibile to provided custom data-list and data element name.
    Author:
    fugerit
    See Also:
    Serialized Form
    • Constructor Detail

      • DataListCatalogConfig

        public DataListCatalogConfig()
        Creates a new DataListCatalogConfig wth default configuration.
      • DataListCatalogConfig

        public DataListCatalogConfig​(String attTagDataList,
                                     String attTagData)
        Creates a new DataListCatalogConfig
        Parameters:
        attTagDataList - attribute name to use for data list
        attTagData - attribute name to use for data entry