attributelistentrytypedriver.java

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

JAVA
38
字号
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class AttributeListEntryTypeDriver 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/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.AttributeListEntryType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.AttributeListEntryType) pObject;    java.lang.String _2 = _1.getValue();    if (_2 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/types", "value", _1.getValue());    }    com.esri.solutions.jitk.personalization.data.beans.v1.AttributeMapEntryCollectionType _3 = _1.getMap();    if (_3 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _4 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.AttributeMapEntryCollectionType.class).getDriver();      pController.marshal(_4, "http://www.esri.com/solutions/mvs/v1/types", "map", _1.getMap());    }    com.esri.solutions.jitk.personalization.data.beans.v1.AttributeListEntryCollectionType _5 = _1.getList();    if (_5 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _6 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.AttributeListEntryCollectionType.class).getDriver();      pController.marshal(_6, "http://www.esri.com/solutions/mvs/v1/types", "list", _1.getList());    }  }}

⌨️ 快捷键说明

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