/**
  * @deprecated use
  *             {@link #AbstractFeatureTypeGetProperties(Object, XSDElementDeclaration, SchemaIndex, Configuration)
  *
  */
 public static List AbstractFeatureType_getProperties(
     Object object,
     XSDElementDeclaration element,
     SchemaIndex schemaIndex,
     Configuration configuration) {
   return INSTANCE.AbstractFeatureTypeGetProperties(object, element, schemaIndex, configuration);
 }
 public void testEncode() throws Exception {
   Geometry geometry = GML3MockData.multiGeometry();
   GML3EncodingUtils.setID(geometry, "geometry");
   Document dom = encode(geometry, GML.MultiGeometry);
   // print(dom);
   assertEquals("geometry", getID(dom.getDocumentElement()));
   assertEquals(3, dom.getElementsByTagNameNS(GML.NAMESPACE, "geometryMember").getLength());
   // geometry.1 is not encoded on the gml:Point because user data is already being used for
   // srsDimension and srsName; not going to support the use of these inside a multigeometry
   // and combined with gml:id
   assertEquals(
       "geometry.2", getID(dom.getElementsByTagNameNS(GML.NAMESPACE, "LineString").item(0)));
   assertEquals("geometry.3", getID(dom.getElementsByTagNameNS(GML.NAMESPACE, "Polygon").item(0)));
 }
  public Object getProperty(Object object, QName name) {
    Envelope envelope = (Envelope) object;

    if (envelope.isNull()) {
      return null;
    }

    if (name.getLocalPart().equals("lowerCorner")) {
      return new DirectPosition2D(envelope.getMinX(), envelope.getMinY());
    }

    if (name.getLocalPart().equals("upperCorner")) {
      return new DirectPosition2D(envelope.getMaxX(), envelope.getMaxY());
    }

    if (name.getLocalPart().equals("srsName") && envelope instanceof ReferencedEnvelope) {
      return GML3EncodingUtils.crs(((ReferencedEnvelope) envelope).getCoordinateReferenceSystem());
    }

    return null;
  }
 /**
  * @deprecated use {@link #AbstractFeatureTypeEncode(Object, Document, Element, XSDIdRegistry)}
  */
 public static Element AbstractFeatureType_encode(
     Object object, Document document, Element value, XSDIdRegistry idSet) {
   return INSTANCE.AbstractFeatureTypeEncode(object, document, value, idSet);
 }
 /** @deprecated use {@link #GeometryPropertyType_GetProperties(Geometry)} */
 public static List getProperties(Geometry geometry) {
   return INSTANCE.GeometryPropertyType_GetProperties(geometry);
 }
 /** @deprecated use {@link #GeometryPropertyType_GetProperty(Geometry, QName)} */
 public static Object getProperty(Geometry geometry, QName name) {
   return INSTANCE.GeometryPropertyType_GetProperty(geometry, name);
 }
 public List getProperties(Object object) throws Exception {
   return encodingUtils.GeometryPropertyType_GetProperties((Geometry) object);
 }
  public Object getProperty(Object object, QName name) throws Exception {

    return encodingUtils.GeometryPropertyType_GetProperty((Geometry) object, name, makeEmpty);
  }