owsrequest.java

来自「Welcome to MS4W, the no fuss installer f」· Java 代码 · 共 86 行

JAVA
86
字号
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version: 1.3.21 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package edu.umn.gis.mapscript;public class OWSRequest {  private long swigCPtr;  protected boolean swigCMemOwn;  protected OWSRequest(long cPtr, boolean cMemoryOwn) {    swigCMemOwn = cMemoryOwn;    swigCPtr = cPtr;  }  protected void finalize() {    delete();  }  public void delete() {    if(swigCPtr != 0 && swigCMemOwn) {      swigCMemOwn = false;      mapscriptJNI.delete_OWSRequest(swigCPtr);    }    swigCPtr = 0;  }  protected static long getCPtr(OWSRequest obj) {    return (obj == null) ? 0 : obj.swigCPtr;  }  public int getNumParams() {    return mapscriptJNI.get_OWSRequest_NumParams(swigCPtr);  }  public void setType(int type) {    mapscriptJNI.set_OWSRequest_type(swigCPtr, type);  }  public int getType() {    return mapscriptJNI.get_OWSRequest_type(swigCPtr);  }  public void setContenttype(String contenttype) {    mapscriptJNI.set_OWSRequest_contenttype(swigCPtr, contenttype);  }  public String getContenttype() {    return mapscriptJNI.get_OWSRequest_contenttype(swigCPtr);  }  public void setPostrequest(String postrequest) {    mapscriptJNI.set_OWSRequest_postrequest(swigCPtr, postrequest);  }  public String getPostrequest() {    return mapscriptJNI.get_OWSRequest_postrequest(swigCPtr);  }  public OWSRequest() {    this(mapscriptJNI.new_OWSRequest(), true);  }  public void setParameter(String name, String value) {    mapscriptJNI.OWSRequest_setParameter(swigCPtr, name, value);  }  public String getName(int index) {    return mapscriptJNI.OWSRequest_getName(swigCPtr, index);  }  public String getValue(int index) {    return mapscriptJNI.OWSRequest_getValue(swigCPtr, index);  }  public String getValueByName(String name) {    return mapscriptJNI.OWSRequest_getValueByName(swigCPtr, name);  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?