📄 abstractmapservicemetadataexporter.java
字号:
package com.esri.solutions.jitk.common.metadata;
import com.esri.solutions.jitk.common.enums.ServiceType;
/**
* Abstract class that implements the {@link IMetadataExporter} interface. Classes
* that wish to export map service information should extend this class.
*/
public abstract class AbstractMapServiceMetadataExporter
implements IMetadataExporter {
/**
* Url of the service.
*/
protected String _serviceUrl = null;
/**
* Name of the service.
*/
protected String _serviceName = null;
/**
* {@link ServiceType} to identify between different service types.
*/
protected ServiceType _serviceType = null;
/*
* (non-Javadoc)
* @see com.esri.solutions.jitk.common.metadata.IMetadataExporter#begin()
*/
public abstract void begin();
/*
* (non-Javadoc)
* @see com.esri.solutions.jitk.common.metadata.IMetadataExporter#end()
*/
public abstract void end();
/*
* (non-Javadoc)
* @see com.esri.solutions.jitk.common.metadata.IMetadataExporter#export()
*/
public abstract void export();
/*
* (non-Javadoc)
* @see com.esri.solutions.jitk.common.metadata.IMetadataExporter#getExporterId()
*/
public abstract String getExporterId();
/*
* (non-Javadoc)
* @see com.esri.solutions.jitk.common.metadata.IMetadataExporter#setRaw(java.lang.Object)
*/
public abstract void setRaw(Object raw);
/**
* Retrieves the service URL.
* @return {@link String} containing the service's URL.
*/
public String getServiceUrl() {
return _serviceUrl;
}
/**
* Retrieves the service name.
* @return {@link String} containing the service's name.
*/
public String getServiceName() {
return _serviceName;
}
/**
* Retrieves the service type.
* @return {@link ServiceType} containing the service's type.
*/
public ServiceType getServiceType() {
return _serviceType;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -