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

📄 toclayeritemtypedriver.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class TocLayerItemTypeDriver 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.TocLayerItemType _2 = (com.esri.solutions.jitk.personalization.data.beans.v1.TocLayerItemType) 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());    }    _1.addAttribute("", "IsVisible", pController.getAttrQName(this, "", "IsVisible"), "CDATA", pController.getDatatypeConverter().printBoolean(_2.isIsVisible()));    _1.addAttribute("", "IsIdentifyable", pController.getAttrQName(this, "", "IsIdentifyable"), "CDATA", pController.getDatatypeConverter().printBoolean(_2.isIsIdentifyable()));    _1.addAttribute("", "IsSelectable", pController.getAttrQName(this, "", "IsSelectable"), "CDATA", pController.getDatatypeConverter().printBoolean(_2.isIsSelectable()));    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.TocLayerItemType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.TocLayerItemType) pObject;    com.esri.solutions.jitk.personalization.data.beans.v1.AttributeCollectionType _2 = _1.getAttributes();    if (_2 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _3 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Attributes.class).getDriver();      pController.marshal(_3, "http://www.esri.com/solutions/mvs/v1/types", "Attributes", _1.getAttributes());    }    com.esri.solutions.jitk.personalization.data.beans.v1.LayerType _4 = _1.getLayer();    if (_4 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _5 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.LayerType.class).getDriver();      pController.marshal(_5, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Layer", _1.getLayer());    }  }}

⌨️ 快捷键说明

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