Esri Geoportal Server
1.0

com.esri.gpt.server.csw.client
Class CswProfiles

java.lang.Object
  extended by com.esri.gpt.framework.search.SearchXslProfiles<CswProfile>
      extended by com.esri.gpt.server.csw.client.CswProfiles

public class CswProfiles
extends SearchXslProfiles<CswProfile>

The collection of CSw profiles.


Field Summary
 
Fields inherited from class com.esri.gpt.framework.search.SearchXslProfiles
CONFIG_FOLDER_PATH
 
Constructor Summary
CswProfiles()
          Instantiates a new csw profiles.
 
Method Summary
 void loadProfilefromConfig()
          Load profile from default profiles config file.
 void loadProfilefromConfig(String filename)
          Loads the profile details from configuration file.
 
Methods inherited from class com.esri.gpt.framework.search.SearchXslProfiles
addProfile, getConfigurationFileName, getConfigurationFolderPath, getProfileById, getProfilesAsCollection, getSize, loadProfilefromConfig, setConfigurationFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CswProfiles

public CswProfiles()
Instantiates a new csw profiles.

Method Detail

loadProfilefromConfig

public void loadProfilefromConfig(String filename)
                           throws ParserConfigurationException,
                                  SAXException,
                                  IOException,
                                  XPathExpressionException
Loads the profile details from configuration file. The profiles details are loaded in the collection. Duplicate or invalid profiles are ignored.

Parameters:
filename -
Throws:
ParserConfigurationException
SAXException
ParserConfigurationException
IOException
SAXException
XPathExpressionException

loadProfilefromConfig

public void loadProfilefromConfig()
                           throws XPathExpressionException,
                                  ParserConfigurationException,
                                  SAXException,
                                  IOException
Load profile from default profiles config file.

Specified by:
loadProfilefromConfig in class SearchXslProfiles<CswProfile>
Throws:
XPathExpressionException - the x path expression exception
ParserConfigurationException - the parser configuration exception
SAXException - the SAX exception
IOException - Signals that an I/O exception has occurred.

Esri Geoportal Server
1.0

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