|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.search.SearchXslProfiles<P>
P
- the generic typepublic abstract class SearchXslProfiles<P extends SearchXslProfile<?,?,?,?>>
The collection of Search Profiles.
Field Summary | |
---|---|
static String |
CONFIG_FOLDER_PATH
The configuration folder path. |
Constructor Summary | |
---|---|
SearchXslProfiles()
Instantiates a new search profiles. |
Method Summary | |
---|---|
void |
addProfile(P profile)
Add a key value pair to profile collection. |
String |
getConfigurationFileName()
Gets the configuration file name. |
String |
getConfigurationFolderPath()
Gets the configuration folder path. |
P |
getProfileById(String id)
Get csw profile with its id. |
Collection<P> |
getProfilesAsCollection()
Gets the profiles as collection. |
int |
getSize()
Gets the size. |
abstract void |
loadProfilefromConfig()
Loads the profile details from configuration file. |
void |
loadProfilefromConfig(String filename,
P xslProfileClass,
String profileTag)
Loads the profile details from configuration file. |
void |
setConfigurationFileName(String configurationFileName)
Sets the configuration file name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONFIG_FOLDER_PATH
Constructor Detail |
---|
public SearchXslProfiles()
Method Detail |
---|
public String getConfigurationFileName()
public void setConfigurationFileName(String configurationFileName)
configurationFileName
- the new configuration file namepublic String getConfigurationFolderPath()
public void addProfile(P profile)
profile
- the profilepublic abstract void loadProfilefromConfig() throws ParserConfigurationException, SAXException, IOException, XPathExpressionException
ParserConfigurationException
SAXException
ParserConfigurationException
IOException
SAXException
XPathExpressionException
public void loadProfilefromConfig(String filename, P xslProfileClass, String profileTag) throws ParserConfigurationException, SAXException, IOException, XPathExpressionException
filename
- xslProfileClass
- Can never be null
ParserConfigurationException
SAXException
ParserConfigurationException
IOException
SAXException
XPathExpressionException
public P getProfileById(String id)
id
- the id
public Collection<P> getProfilesAsCollection()
public int getSize()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |