public class KeywordServiceQueryFactory extends Object implements RegistryQueryFactory
| Constructor and Description |
|---|
KeywordServiceQueryFactory(Capability capability)
Constructs a query factory which looks for services with a particular
standard ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEntryListener(ActionListener listener)
Adds a listener which will be notified when the user has entered
a query.
|
JComponent |
getComponent()
May return a component which the user can interact with to select
a query.
|
RegistryQuery |
getIdListQuery(String[] ivoids)
Returns a registry query suitable for this query factory which
queries a given list of IVO identifiers.
|
RegistryQuery |
getQuery()
Returns the currently selected query.
|
RegistrySelector |
getRegistrySelector()
Returns the registry component object associated with this object.
|
void |
removeEntryListener(ActionListener listener)
Removes a listener previously added by
RegistryQueryFactory.addEntryListener(java.awt.event.ActionListener). |
public KeywordServiceQueryFactory(Capability capability)
capability - description of capability which all results must havepublic RegistryQuery getQuery() throws MalformedURLException
RegistryQueryFactorygetQuery in interface RegistryQueryFactoryMalformedURLExceptionpublic RegistryQuery getIdListQuery(String[] ivoids) throws MalformedURLException
RegistryQueryFactorygetIdListQuery in interface RegistryQueryFactoryivoids - ivo:-type resource identifiersMalformedURLExceptionpublic JComponent getComponent()
RegistryQueryFactorygetComponent in interface RegistryQueryFactorypublic void addEntryListener(ActionListener listener)
RegistryQueryFactoryaddEntryListener in interface RegistryQueryFactorylistener - listenerpublic void removeEntryListener(ActionListener listener)
RegistryQueryFactoryRegistryQueryFactory.addEntryListener(java.awt.event.ActionListener).removeEntryListener in interface RegistryQueryFactorylistener - listenerpublic RegistrySelector getRegistrySelector()
RegistryQueryFactorygetRegistrySelector in interface RegistryQueryFactoryCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.