⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mapcompositiontypedriver.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class MapCompositionTypeDriver 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();    com.esri.solutions.jitk.personalization.data.beans.v1.MapCompositionType _2 = (com.esri.solutions.jitk.personalization.data.beans.v1.MapCompositionType) pObject;    java.lang.String _3 = _2.getId();    if (_3 != null) {      _1.addAttribute("", "Id", pController.getAttrQName(this, "", "Id"), "CDATA", _2.getId());    }    java.lang.String _4 = _2.getName();    if (_4 != null) {      _1.addAttribute("", "Name", pController.getAttrQName(this, "", "Name"), "CDATA", _2.getName());    }    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/types")) {      return "mvs";    } else if (pURI.equals("http://www.esri.com/solutions/mvs/v1/mapcompositions")) {      return "mmc";    }    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.MapCompositionType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.MapCompositionType) pObject;    java.lang.String _2 = _1.getDescription();    if (_2 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Description", _1.getDescription());    }    com.esri.solutions.jitk.personalization.data.beans.v1.LayerListType _3 = _1.getOrderedLayers();    if (_3 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _4 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.LayerListType.class).getDriver();      pController.marshal(_4, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "OrderedLayers", _1.getOrderedLayers());    }    com.esri.solutions.jitk.personalization.data.beans.v1.RgbColorType _5 = _1.getBackgroundColor();    if (_5 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _6 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.RgbColorType.class).getDriver();      pController.marshal(_6, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "BackgroundColor", _1.getBackgroundColor());    }    com.esri.solutions.jitk.personalization.data.beans.v1.TocType _7 = _1.getToc();    if (_7 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _8 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.TocType.class).getDriver();      pController.marshal(_8, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Toc", _1.getToc());    }    com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType _9 = _1.getServices();    if (_9 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _10 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType.class).getDriver();      pController.marshal(_10, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Services", _1.getServices());    }    com.esri.solutions.jitk.personalization.data.beans.v1.SelectionSymbolSetType _11 = _1.getSelectionSymbolSet();    if (_11 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _12 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SelectionSymbolSetType.class).getDriver();      pController.marshal(_12, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "SelectionSymbolSet", _1.getSelectionSymbolSet());    }    com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeNType _13 = _1.getInitialEnvelope();    if (_13 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _14 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeNType.class).getDriver();      pController.marshal(_14, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "InitialEnvelope", _1.getInitialEnvelope());    }    com.esri.solutions.jitk.personalization.data.beans.v1.SpatialReferenceType _15 = _1.getSpatialReference();    if (_15 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _16 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SpatialReferenceType.class).getDriver();      pController.marshal(_16, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "SpatialReference", _1.getSpatialReference());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PreviewType _17 = _1.getPreview();    if (_17 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _18 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Preview.class).getDriver();      pController.marshal(_18, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Preview", _1.getPreview());    }    com.esri.solutions.jitk.personalization.data.beans.v1.AttributeCollectionType _19 = _1.getAttributes();    if (_19 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _20 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Attributes.class).getDriver();      pController.marshal(_20, "http://www.esri.com/solutions/mvs/v1/types", "Attributes", _1.getAttributes());    }  }}

⌨️ 快捷键说明

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