📄 resourcemanagerwssei_unregisterjobhost_responsestruct_literalserializer.java
字号:
// This class was generated by the JAXRPC SI, do not edit.// Contents subject to change without notice.// JAX-RPC Standard Implementation (1.1.2_02, build R41)// Generated source version: 1.1.2package jwsgrid.resourcemanager.ws;import com.sun.xml.rpc.encoding.*;import com.sun.xml.rpc.encoding.xsd.XSDConstants;import com.sun.xml.rpc.encoding.literal.*;import com.sun.xml.rpc.encoding.literal.DetailFragmentDeserializer;import com.sun.xml.rpc.encoding.simpletype.*;import com.sun.xml.rpc.encoding.soap.SOAPConstants;import com.sun.xml.rpc.encoding.soap.SOAP12Constants;import com.sun.xml.rpc.streaming.*;import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;import javax.xml.namespace.QName;import java.util.List;import java.util.ArrayList;public class ResourceManagerWSSEI_unregisterJobHost_ResponseStruct_LiteralSerializer extends LiteralObjectSerializerBase implements Initializable { private static final QName ns1_result_QNAME = new QName("", "result"); private static final QName ns2_boolean_TYPE_QNAME = SchemaConstants.QNAME_TYPE_BOOLEAN; private CombinedSerializer ns2_myns2__boolean__boolean_Boolean_Serializer; public ResourceManagerWSSEI_unregisterJobHost_ResponseStruct_LiteralSerializer(QName type, String encodingStyle) { this(type, encodingStyle, false); } public ResourceManagerWSSEI_unregisterJobHost_ResponseStruct_LiteralSerializer(QName type, String encodingStyle, boolean encodeType) { super(type, true, encodingStyle, encodeType); } public void initialize(InternalTypeMappingRegistry registry) throws Exception { ns2_myns2__boolean__boolean_Boolean_Serializer = (CombinedSerializer)registry.getSerializer("", boolean.class, ns2_boolean_TYPE_QNAME); } public Object doDeserialize(XMLReader reader, SOAPDeserializationContext context) throws Exception { jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct instance = new jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct(); Object member=null; QName elementName; List values; Object value; reader.nextElementContent(); elementName = reader.getName(); if (reader.getState() == XMLReader.START) { if (elementName.equals(ns1_result_QNAME)) { member = ns2_myns2__boolean__boolean_Boolean_Serializer.deserialize(ns1_result_QNAME, reader, context); if (member == null) { throw new DeserializationException("literal.unexpectedNull"); } instance.setResult(((Boolean)member).booleanValue()); reader.nextElementContent(); } } XMLReaderUtil.verifyReaderState(reader, XMLReader.END); return (Object)instance; } public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception { jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct instance = (jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct)obj; } public void doSerialize(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception { jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct instance = (jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct)obj; ns2_myns2__boolean__boolean_Boolean_Serializer.serialize(new Boolean(instance.isResult()), ns1_result_QNAME, null, writer, context); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -