📄 servicetypedriver.java
字号:
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class ServiceTypeDriver 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.ServiceType _2 = (com.esri.solutions.jitk.personalization.data.beans.v1.ServiceType) pObject; java.lang.String _3 = _2.getId(); if (_3 != null) { _1.addAttribute("", "Id", pController.getAttrQName(this, "", "Id"), "CDATA", _2.getId()); } 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/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.ServiceType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.ServiceType) pObject; com.esri.solutions.jitk.personalization.data.beans.v1.IdentityType _2 = _1.getIdentity(); if (_2 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _3 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.IdentityType.class).getDriver(); pController.marshal(_3, "http://www.esri.com/solutions/mvs/v1/resources", "Identity", _1.getIdentity()); } com.esri.solutions.jitk.personalization.data.beans.v1.AttributeCollectionType _4 = _1.getAttributes(); if (_4 != null) { org.apache.ws.jaxme.impl.JMSAXDriver _5 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Attributes.class).getDriver(); pController.marshal(_5, "http://www.esri.com/solutions/mvs/v1/types", "Attributes", _1.getAttributes()); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -