Package com.esri.gpt.server.csw.client

Examples of com.esri.gpt.server.csw.client.CswProfiles


private static void buildAllProfiles() {
  if (_allProfiles == null) {
    ArrayList allProfiles =
      new ArrayList();
  
    CswProfiles cswProfiles = new CswProfiles();
    try {

      cswProfiles.loadProfilefromConfig();
      Collection<CswProfile> profiles = cswProfiles.getProfilesAsCollection();
      for (CswProfile profile : profiles) {
        String id = profile.getId();
        String name = profile.getName();
        if (id.length() > 0) {
          if (name.length() == 0) {
View Full Code Here


public CswQueryBuilder(IterationContext context, HarvestProtocolCsw protocol, String url) {
  if (context == null)
    throw new IllegalArgumentException("No context provided.");
  if (cswProfiles==null) {
    try {
      cswProfiles = new CswProfiles();
      cswProfiles.loadProfilefromConfig();
    } catch (Exception ex) {
      throw new IllegalArgumentException("Unable to obtain profiles.", ex);
    }
  }
View Full Code Here

*
* @return the csw profiles
*/
public CswProfiles getCswProfiles() {
  if(_cswProfiles == null) {
    _cswProfiles = new CswProfiles();
  }
  return _cswProfiles;
}
View Full Code Here

TOP

Related Classes of com.esri.gpt.server.csw.client.CswProfiles

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.