⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spatialfiltertypedriver.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.personalization.data.beans.v1.impl;public class SpatialFilterTypeDriver 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/queries")) {      return "mvsq";    } else if (pURI.equals("http://www.esri.com/solutions/mvs/v1/geometry")) {      return "mvsg";    }    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.SpatialFilterType _1 = (com.esri.solutions.jitk.personalization.data.beans.v1.SpatialFilterType) pObject;    java.lang.String _2 = _1.getSubFields();    if (_2 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "SubFields", _1.getSubFields());    }    java.lang.String _3 = _1.getWhereClause();    if (_3 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "WhereClause", _1.getWhereClause());    }    java.lang.String _4 = _1.getSpatialReferenceFieldName();    if (_4 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "SpatialReferenceFieldName", _1.getSpatialReferenceFieldName());    }    pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "Resolution", pController.getDatatypeConverter().printDouble(_1.getResolution()));    com.esri.solutions.jitk.personalization.data.beans.v1.SpatialReferenceType _5 = _1.getOutputSpatialReference();    if (_5 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _6 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.SpatialReferenceType.class).getDriver();      pController.marshal(_6, "http://www.esri.com/solutions/mvs/v1/queries", "OutputSpatialReference", _1.getOutputSpatialReference());    }    com.esri.solutions.jitk.personalization.data.beans.v1.FIDSet _7 = _1.getFIDSet();    if (_7 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _8 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.FIDSet.class).getDriver();      pController.marshal(_8, "http://www.esri.com/solutions/mvs/v1/queries", "FIDSet", _1.getFIDSet());    }    java.lang.String _9 = _1.getPostfixClause();    if (_9 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "PostfixClause", _1.getPostfixClause());    }    com.esri.solutions.jitk.personalization.data.beans.v1.ArrayOfFilterDef _10 = _1.getFilterDefs();    if (_10 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _11 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.ArrayOfFilterDef.class).getDriver();      pController.marshal(_11, "http://www.esri.com/solutions/mvs/v1/queries", "FilterDefs", _1.getFilterDefs());    }    java.lang.String _12 = _1.getSearchOrder();    if (_12 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "SearchOrder", _1.getSearchOrder());    }    java.lang.String _13 = _1.getSpatialRel();    if (_13 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "SpatialRel", _1.getSpatialRel());    }    java.lang.String _14 = _1.getSpatialRelDescription();    if (_14 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "SpatialRelDescription", _1.getSpatialRelDescription());    }    com.esri.solutions.jitk.personalization.data.beans.v1.GeometryType _15 = _1.getGeometry();    if (_15 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _16 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Geometry.class).getDriver();      pController.marshal(_16, "http://www.esri.com/solutions/mvs/v1/geometry", "Geometry", _1.getGeometry());    }    com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeNType _17 = _1.getEnvelopeN();    if (_17 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _18 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeN.class).getDriver();      pController.marshal(_18, "http://www.esri.com/solutions/mvs/v1/geometry", "EnvelopeN", _1.getEnvelopeN());    }    com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeBType _19 = _1.getEnvelopeB();    if (_19 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _20 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.EnvelopeB.class).getDriver();      pController.marshal(_20, "http://www.esri.com/solutions/mvs/v1/geometry", "EnvelopeB", _1.getEnvelopeB());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PointNType _21 = _1.getPointN();    if (_21 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _22 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PointN.class).getDriver();      pController.marshal(_22, "http://www.esri.com/solutions/mvs/v1/geometry", "PointN", _1.getPointN());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PointBType _23 = _1.getPointB();    if (_23 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _24 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PointB.class).getDriver();      pController.marshal(_24, "http://www.esri.com/solutions/mvs/v1/geometry", "PointB", _1.getPointB());    }    com.esri.solutions.jitk.personalization.data.beans.v1.MultipointBType _25 = _1.getMultipointB();    if (_25 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _26 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.MultipointB.class).getDriver();      pController.marshal(_26, "http://www.esri.com/solutions/mvs/v1/geometry", "MultipointB", _1.getMultipointB());    }    com.esri.solutions.jitk.personalization.data.beans.v1.MultipointNType _27 = _1.getMultipointN();    if (_27 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _28 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.MultipointN.class).getDriver();      pController.marshal(_28, "http://www.esri.com/solutions/mvs/v1/geometry", "MultipointN", _1.getMultipointN());    }    com.esri.solutions.jitk.personalization.data.beans.v1.LineType _29 = _1.getLine();    if (_29 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _30 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Line.class).getDriver();      pController.marshal(_30, "http://www.esri.com/solutions/mvs/v1/geometry", "Line", _1.getLine());    }    com.esri.solutions.jitk.personalization.data.beans.v1.EllipticArcType _31 = _1.getEllipticArc();    if (_31 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _32 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.EllipticArc.class).getDriver();      pController.marshal(_32, "http://www.esri.com/solutions/mvs/v1/geometry", "EllipticArc", _1.getEllipticArc());    }    com.esri.solutions.jitk.personalization.data.beans.v1.CircularArcType _33 = _1.getCircularArc();    if (_33 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _34 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.CircularArc.class).getDriver();      pController.marshal(_34, "http://www.esri.com/solutions/mvs/v1/geometry", "CircularArc", _1.getCircularArc());    }    com.esri.solutions.jitk.personalization.data.beans.v1.BezierCurveType _35 = _1.getBezierCurve();    if (_35 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _36 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.BezierCurve.class).getDriver();      pController.marshal(_36, "http://www.esri.com/solutions/mvs/v1/geometry", "BezierCurve", _1.getBezierCurve());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PathType _37 = _1.getPath();    if (_37 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _38 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Path.class).getDriver();      pController.marshal(_38, "http://www.esri.com/solutions/mvs/v1/geometry", "Path", _1.getPath());    }    com.esri.solutions.jitk.personalization.data.beans.v1.RingType _39 = _1.getRing();    if (_39 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _40 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.Ring.class).getDriver();      pController.marshal(_40, "http://www.esri.com/solutions/mvs/v1/geometry", "Ring", _1.getRing());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PolygonNType _41 = _1.getPolygonN();    if (_41 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _42 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PolygonN.class).getDriver();      pController.marshal(_42, "http://www.esri.com/solutions/mvs/v1/geometry", "PolygonN", _1.getPolygonN());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PolygonBType _43 = _1.getPolygonB();    if (_43 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _44 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PolygonB.class).getDriver();      pController.marshal(_44, "http://www.esri.com/solutions/mvs/v1/geometry", "PolygonB", _1.getPolygonB());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PolylineNType _45 = _1.getPolylineN();    if (_45 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _46 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PolylineN.class).getDriver();      pController.marshal(_46, "http://www.esri.com/solutions/mvs/v1/geometry", "PolylineN", _1.getPolylineN());    }    com.esri.solutions.jitk.personalization.data.beans.v1.PolylineBType _47 = _1.getPolylineB();    if (_47 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _48 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.PolylineB.class).getDriver();      pController.marshal(_48, "http://www.esri.com/solutions/mvs/v1/geometry", "PolylineB", _1.getPolylineB());    }    com.esri.solutions.jitk.personalization.data.beans.v1.MultiPatchBType _49 = _1.getMultiPatchB();    if (_49 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _50 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.MultiPatchB.class).getDriver();      pController.marshal(_50, "http://www.esri.com/solutions/mvs/v1/geometry", "MultiPatchB", _1.getMultiPatchB());    }    com.esri.solutions.jitk.personalization.data.beans.v1.MultiPatchNType _51 = _1.getMultiPatchN();    if (_51 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _52 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.MultiPatchN.class).getDriver();      pController.marshal(_52, "http://www.esri.com/solutions/mvs/v1/geometry", "MultiPatchN", _1.getMultiPatchN());    }    com.esri.solutions.jitk.personalization.data.beans.v1.TriangleFanType _53 = _1.getTriangleFan();    if (_53 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _54 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.TriangleFan.class).getDriver();      pController.marshal(_54, "http://www.esri.com/solutions/mvs/v1/geometry", "TriangleFan", _1.getTriangleFan());    }    com.esri.solutions.jitk.personalization.data.beans.v1.TriangleStripType _55 = _1.getTriangleStrip();    if (_55 != null) {      org.apache.ws.jaxme.impl.JMSAXDriver _56 = pController.getJMMarshaller().getJAXBContextImpl().getManagerS(com.esri.solutions.jitk.personalization.data.beans.v1.TriangleStrip.class).getDriver();      pController.marshal(_56, "http://www.esri.com/solutions/mvs/v1/geometry", "TriangleStrip", _1.getTriangleStrip());    }    java.lang.String _57 = _1.getGeometryFieldName();    if (_57 != null) {      pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "GeometryFieldName", _1.getGeometryFieldName());    }    pController.marshalSimpleChild(this, "http://www.esri.com/solutions/mvs/v1/queries", "FilterOwnsGeometry", pController.getDatatypeConverter().printBoolean(_1.isFilterOwnsGeometry()));  }}

⌨️ 快捷键说明

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