connectionspeedsettingstypedriver.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 43 行

JAVA
43
字号
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class ConnectionSpeedSettingsTypeDriver implements org.apache.ws.jaxme.impl.JMSAXDriver {  public org.xml.sax.helpers.AttributesImpl getAttributes(org.apache.ws.jaxme.impl.JMSAXDriverController pController, java.lang.Object pObject) throws org.xml.sax.SAXException {    org.xml.sax.helpers.AttributesImpl _1 = new org.xml.sax.helpers.AttributesImpl();    return _1;  }  public java.lang.String getPreferredPrefix(java.lang.String pURI) {    if (pURI == null) {      pURI = "";    }    if (pURI.equals("http://www.esri.com/solutions/mvs/v1/preferences")) {      return "mvsp";    } else if (pURI.equals("http://www.esri.com/solutions/mvs/v1/types")) {      return "mvs";    }    return null;  }  public void marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController pController, org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException {    com.esri.solutions.jitk.personalization.data.beans.v1.ConnectionSpeedSettingsType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.ConnectionSpeedSettingsType) pObject;    java.lang.String _2 = _1.getSpeed();    if (_2 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/preferences", "Speed", _1.getSpeed());    }    pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/preferences", "MapRefreshRate", pController.getDatatypeConverter().printInt(_1.getMapRefreshRate()));    com.esri.solutions.jitk.personalization.data.beans.v1.PointSymbolType _3 = _1.getAddMarker();    if (_3 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _4 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PointSymbolType.class).getDriver();      pController.marshal(_4, "http://www.esri.com/solutions/mvs/v1/preferences", "AddMarker", _1.getAddMarker());    }    pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/preferences", "MaxMapWidth", pController.getDatatypeConverter().printInt(_1.getMaxMapWidth()));    pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/preferences", "MaxMapHeight", pController.getDatatypeConverter().printInt(_1.getMaxMapHeight()));    com.esri.solutions.jitk.personalization.data.beans.v1.AttributeCollectionType _5 = _1.getAttributes();    if (_5 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _6 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Attributes.class).getDriver();      pController.marshal(_6, "http://www.esri.com/solutions/mvs/v1/types", "Attributes", _1.getAttributes());    }  }}

⌨️ 快捷键说明

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