|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for a factory class that can create a SearchSource object from XML Configuration file.
Creates one or more SearchSource objects from a <SourceType> XML Tag.
Implementations of this class are instantiated by the XMLSearchFieldMapFactory which reads the Application Configuration XML and its SourceType tags. The correct instance of an IXmlSearchSourceFactory is determined from the "sourceFactoryClass" attribute.
<SourceType name="[Source Name - unique within this source type]"
type="[Source Type]"
displayName="[Source Name shown to users]"
sourceFactoryClass="[fully qualified class name of implementer of this interface]"
queryProcessor="[fully qualified class name of implementer of source IQueryProcessor]" >
<!-- SourceType - specific information -->
</SourceType>
This UML class diagrams shows the major classes involved in SearchSource creation.
| Method Summary | |
SearchSource[] |
createSearchSources(org.w3c.dom.Element sourceElem,
ISearchFieldMapFactory factory)
|
void |
initializeSource(org.w3c.dom.Element sourceElem,
SearchSource source)
|
| Method Detail |
public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
ISearchFieldMapFactory factory)
public void initializeSource(org.w3c.dom.Element sourceElem,
SearchSource source)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||