📄 mapcompositiontypehandler.java
字号:
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class MapCompositionTypeHandler extends org.apache.ws.jaxme.impl.JMSAXElementParser { /** The current state. The following values are valid states: * 0 = Before parsing the element * 1 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}Description * 2 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}OrderedLayers * 3 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}BackgroundColor * 4 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}Toc * 5 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}Services * 6 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}SelectionSymbolSet * 7 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}InitialEnvelope * 8 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}SpatialReference * 9 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/mapcompositions}Preview * 10 = While or after parsing the child element {http://www.esri.com/solutions/mvs/v1/types}Attributes * */ private int __state; public void addAttribute(java.lang.String pURI, java.lang.String pLocalName, java.lang.String pValue) throws org.xml.sax.SAXException { if (pURI == null) { pURI = ""; } com.esri.solutions.jitk.personalization.data.beans.v1.MapCompositionType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.MapCompositionType) result; if ("".equals(pURI)) { if ("Id".equals(pLocalName)) { _1.setId((java.lang.String) pValue); return; } else if ("Name".equals(pLocalName)) { _1.setName((java.lang.String) pValue); return; } } super.addAttribute(pURI, pLocalName, pValue); } public boolean startElement(java.lang.String pNamespaceURI, java.lang.String pLocalName, java.lang.String pQName, org.xml.sax.Attributes pAttr) throws org.xml.sax.SAXException { org.apache.ws.jaxme.impl.JMUnmarshallerHandlerImpl _1 = getHandler(); switch (__state) { case 0: if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "Description".equals(pLocalName)) { __state = 1; _1.addSimpleAtomicState(); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "OrderedLayers".equals(pLocalName)) { __state = 2; org.apache.ws.jaxme.JMManager _2 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.LayerListType.class); java.lang.Object _3 = _2.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _4 = _2.getHandler(); _4.init(_1, _3, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "OrderedLayers", _1.getLevel()); _4.setAttributes(pAttr); _1.addElementParser(_4); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "BackgroundColor".equals(pLocalName)) { __state = 3; org.apache.ws.jaxme.JMManager _5 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.RgbColorType.class); java.lang.Object _6 = _5.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _7 = _5.getHandler(); _7.init(_1, _6, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "BackgroundColor", _1.getLevel()); _7.setAttributes(pAttr); _1.addElementParser(_7); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "Toc".equals(pLocalName)) { __state = 4; org.apache.ws.jaxme.JMManager _8 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.TocType.class); java.lang.Object _9 = _8.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _10 = _8.getHandler(); _10.init(_1, _9, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Toc", _1.getLevel()); _10.setAttributes(pAttr); _1.addElementParser(_10); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "Services".equals(pLocalName)) { __state = 5; org.apache.ws.jaxme.JMManager _11 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType.class); java.lang.Object _12 = _11.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _13 = _11.getHandler(); _13.init(_1, _12, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Services", _1.getLevel()); _13.setAttributes(pAttr); _1.addElementParser(_13); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "SelectionSymbolSet".equals(pLocalName)) { __state = 6; org.apache.ws.jaxme.JMManager _14 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SelectionSymbolSetType.class); java.lang.Object _15 = _14.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _16 = _14.getHandler(); _16.init(_1, _15, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "SelectionSymbolSet", _1.getLevel()); _16.setAttributes(pAttr); _1.addElementParser(_16); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "InitialEnvelope".equals(pLocalName)) { __state = 7; org.apache.ws.jaxme.JMManager _17 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeNType.class); java.lang.Object _18 = _17.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _19 = _17.getHandler(); _19.init(_1, _18, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "InitialEnvelope", _1.getLevel()); _19.setAttributes(pAttr); _1.addElementParser(_19); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "SpatialReference".equals(pLocalName)) { __state = 8; org.apache.ws.jaxme.JMManager _20 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SpatialReferenceType.class); java.lang.Object _21 = _20.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _22 = _20.getHandler(); _22.init(_1, _21, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "SpatialReference", _1.getLevel()); _22.setAttributes(pAttr); _1.addElementParser(_22); return true; } break; case 1: if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "OrderedLayers".equals(pLocalName)) { __state = 2; org.apache.ws.jaxme.JMManager _23 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.LayerListType.class); java.lang.Object _24 = _23.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _25 = _23.getHandler(); _25.init(_1, _24, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "OrderedLayers", _1.getLevel()); _25.setAttributes(pAttr); _1.addElementParser(_25); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "BackgroundColor".equals(pLocalName)) { __state = 3; org.apache.ws.jaxme.JMManager _26 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.RgbColorType.class); java.lang.Object _27 = _26.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _28 = _26.getHandler(); _28.init(_1, _27, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "BackgroundColor", _1.getLevel()); _28.setAttributes(pAttr); _1.addElementParser(_28); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "Toc".equals(pLocalName)) { __state = 4; org.apache.ws.jaxme.JMManager _29 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.TocType.class); java.lang.Object _30 = _29.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _31 = _29.getHandler(); _31.init(_1, _30, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Toc", _1.getLevel()); _31.setAttributes(pAttr); _1.addElementParser(_31); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "Services".equals(pLocalName)) { __state = 5; org.apache.ws.jaxme.JMManager _32 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ServiceListType.class); java.lang.Object _33 = _32.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _34 = _32.getHandler(); _34.init(_1, _33, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "Services", _1.getLevel()); _34.setAttributes(pAttr); _1.addElementParser(_34); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "SelectionSymbolSet".equals(pLocalName)) { __state = 6; org.apache.ws.jaxme.JMManager _35 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SelectionSymbolSetType.class); java.lang.Object _36 = _35.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _37 = _35.getHandler(); _37.init(_1, _36, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "SelectionSymbolSet", _1.getLevel()); _37.setAttributes(pAttr); _1.addElementParser(_37); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "InitialEnvelope".equals(pLocalName)) { __state = 7; org.apache.ws.jaxme.JMManager _38 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeNType.class); java.lang.Object _39 = _38.getElementS(); org.apache.ws.jaxme.impl.JMSAXElementParser _40 = _38.getHandler(); _40.init(_1, _39, "http://www.esri.com/solutions/mvs/v1/mapcompositions", "InitialEnvelope", _1.getLevel()); _40.setAttributes(pAttr); _1.addElementParser(_40); return true; } else if ("http://www.esri.com/solutions/mvs/v1/mapcompositions".equals(pNamespaceURI) && "SpatialReference".equals(pLocalName)) { __state = 8; org.apache.ws.jaxme.JMManager _41 = getHandler().getJMUnmarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SpatialReferenceType.class); java.lang.Object _42 = _41.getElementS();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -