📄 servicelisttypedriver.java
字号:
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class ServiceListTypeDriver implements org.apache.ws.jaxme.impl.JMSAXDriver { public static class ServiceItemTypeDriver 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/resources")) { return "mrt"; } 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.ServiceListType.ServiceItemType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType.ServiceItemType) pObject; com.esri.solutions.jitk.personalization.data.beans.v1.AgsLocalServiceType _2 = _1.getAgsLocalService(); if (_2 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _3 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.AgsLocalService.class).getDriver(); pController.marshal(_3, "http://www.esri.com/solutions/mvs/v1/resources", "AgsLocalService", _1.getAgsLocalService()); } com.esri.solutions.jitk.personalization.data.beans.v1.WfsServiceType _4 = _1.getWfsService(); if (_4 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _5 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.WfsService.class).getDriver(); pController.marshal(_5, "http://www.esri.com/solutions/mvs/v1/resources", "WfsService", _1.getWfsService()); } com.esri.solutions.jitk.personalization.data.beans.v1.WcsServiceType _6 = _1.getWcsService(); if (_6 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _7 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.WcsService.class).getDriver(); pController.marshal(_7, "http://www.esri.com/solutions/mvs/v1/resources", "WcsService", _1.getWcsService()); } com.esri.solutions.jitk.personalization.data.beans.v1.WmsServiceType _8 = _1.getWmsService(); if (_8 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _9 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.WmsService.class).getDriver(); pController.marshal(_9, "http://www.esri.com/solutions/mvs/v1/resources", "WmsService", _1.getWmsService()); } com.esri.solutions.jitk.personalization.data.beans.v1.ArcWebServiceType _10 = _1.getArcWebService(); if (_10 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _11 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ArcWebService.class).getDriver(); pController.marshal(_11, "http://www.esri.com/solutions/mvs/v1/resources", "ArcWebService", _1.getArcWebService()); } com.esri.solutions.jitk.personalization.data.beans.v1.ArcImsTcpServiceType _12 = _1.getArcImsTcpService(); if (_12 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _13 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ArcImsTcpService.class).getDriver(); pController.marshal(_13, "http://www.esri.com/solutions/mvs/v1/resources", "ArcImsTcpService", _1.getArcImsTcpService()); } com.esri.solutions.jitk.personalization.data.beans.v1.ArcImsInternetServiceType _14 = _1.getArcImsInternetService(); if (_14 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _15 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ArcImsInternetService.class).getDriver(); pController.marshal(_15, "http://www.esri.com/solutions/mvs/v1/resources", "ArcImsInternetService", _1.getArcImsInternetService()); } com.esri.solutions.jitk.personalization.data.beans.v1.AgsInternetServiceType _16 = _1.getAgsInternetService(); if (_16 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _17 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.AgsInternetService.class).getDriver(); pController.marshal(_17, "http://www.esri.com/solutions/mvs/v1/resources", "AgsInternetService", _1.getAgsInternetService()); } } } 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/resources")) { return "mrt"; } 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.ServiceListType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType) pObject; java.util.List _2 = _1.getServiceItem(); for (int _3 = 0; _3 < (_2).size(); _3++) { org.apache.ws.jaxme.impl.JMSAXDriver _4 = new com.esri.solutions.jitk.personalization.data.beans.v1.impl.ServiceListTypeDriver.ServiceItemTypeDriver(); pController.marshal(_4, "http://www.esri.com/solutions/mvs/v1/resources", "ServiceItem", (com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType.ServiceItemType)_2.get(_3)); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -