Package com.moesol.geoserver.sync.client.xml

Examples of com.moesol.geoserver.sync.client.xml.ComplexConfiguration


  private void setUp() {
    LOGGER.log(Level.CONFIG, "template {0}", POST_TEMPLATE);
   
    String namespace = "http://www.openplans.org/topp";
    String schemaLocation = "http://localhost/geoserver/ows?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:states&maxFeatures=50";
    ComplexConfiguration configuration = new ComplexConfiguration(namespace, schemaLocation);

    String wfsUrl = "http://localhost:80/geoserver/wfs";
    synchronizer = new GeoserverClientSynchronizer(configuration, wfsUrl, POST_TEMPLATE);
  }
View Full Code Here


   
    m_namespace = m_properties.getProperty("namespace", "http://www.openplans.org/topp");
    String schemaLocation = m_properties.getProperty(
        "schemaLocation",
        "http://localhost/geoserver/ows?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=topp:states&maxFeatures=50");
    ComplexConfiguration configuration = new ComplexConfiguration(m_namespace, schemaLocation);

    String wfsUrl = m_properties.getProperty("url", "http://localhost:80/geoserver/wfs");
    synchronizer = new GeoserverClientSynchronizer(configuration, wfsUrl, m_postTemplate);
   
    String cycleMillis = m_properties.getProperty("cycleMillis", "10000");
View Full Code Here

  }
 
  public static ComplexConfiguration makeConfiguration() {
    URL xsdUrl = Features.class.getResource("buildings.xsd");
   
    ComplexConfiguration configuration = new ComplexConfiguration("http://www.opengis.net/cite", xsdUrl.toString());
    return configuration;
  }
View Full Code Here

TOP

Related Classes of com.moesol.geoserver.sync.client.xml.ComplexConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.