Esri Geoportal Server
1.0

com.esri.gpt.catalog.search
Class SearchGptXslProfiles

java.lang.Object
  extended by com.esri.gpt.framework.search.SearchXslProfiles<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>>
      extended by com.esri.gpt.catalog.search.SearchGptXslProfiles

public class SearchGptXslProfiles
extends SearchXslProfiles<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>>

The Class SearchGptProfiles. Encapsulates CSW profiles and Gpt profiles.


Field Summary
 
Fields inherited from class com.esri.gpt.framework.search.SearchXslProfiles
CONFIG_FOLDER_PATH
 
Constructor Summary
SearchGptXslProfiles()
          Instantiates a new search gpt xsl profiles.
 
Method Summary
 CswProfiles getCswProfiles()
          Gets the csw profiles.
 SearchXslProfile getProfileById(String id)
          Gets the profile associated with the id.
 Collection<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>> getProfilesAsCollection()
          Gets the profiles as collection.
 int getSize()
          Gets the size.
 void loadProfilefromConfig()
          Load profilefrom config.
 
Methods inherited from class com.esri.gpt.framework.search.SearchXslProfiles
addProfile, getConfigurationFileName, getConfigurationFolderPath, loadProfilefromConfig, setConfigurationFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchGptXslProfiles

public SearchGptXslProfiles()
Instantiates a new search gpt xsl profiles.

Method Detail

getCswProfiles

public CswProfiles getCswProfiles()
Gets the csw profiles.

Returns:
the csw profiles

getProfileById

public SearchXslProfile getProfileById(String id)
Gets the profile associated with the id. First looks at the cswProfile then the gpt profiles

Overrides:
getProfileById in class SearchXslProfiles<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>>
Parameters:
id - Gets the profile
Returns:
the profile by id
See Also:
SearchXslProfiles.getProfileById(java.lang.String)

getProfilesAsCollection

public Collection<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>> getProfilesAsCollection()
Gets the profiles as collection.

Overrides:
getProfilesAsCollection in class SearchXslProfiles<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>>
Returns:
the profiles as collection

getSize

public int getSize()
Gets the size.

Overrides:
getSize in class SearchXslProfiles<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>>
Returns:
the size

loadProfilefromConfig

public void loadProfilefromConfig()
                           throws ParserConfigurationException,
                                  SAXException,
                                  IOException,
                                  XPathExpressionException
Load profilefrom config.

Specified by:
loadProfilefromConfig in class SearchXslProfiles<SearchXslProfile<QueryCriteria,Record,Records<Record>,QueryResult<Records<Record>>>>
Throws:
ParserConfigurationException - the parser configuration exception
SAXException - the sAX exception
IOException - Signals that an I/O exception has occurred.
XPathExpressionException - the x path expression exception

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.