public WFS10() { super(new WFSConfiguration(), "text/xml; subtype=wfs-collection/1.0", org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION); }
/** * Creates a new configuration. * * @generated */ public WFSConfiguration() { super(WFS.getInstance()); addDependency(new OGCConfiguration()); }
public WFS10() { super( new WFSConfiguration(), "text/xml; subtype=wfs-collection/1.0", org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION); } }
public WFS10Alternate() { super( new WFSConfiguration(), "application/wfs-collection-1.0", org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION); } }
public WFS10Alternate() { super(new WFSConfiguration(), "application/wfs-collection-1.0", org.geoserver.wfs.xml.v1_0_0.WFS.FEATURECOLLECTION); }
elementName = WFS.GetFeature; } else { cfg = new org.geotools.wfs.v1_0.WFSConfiguration(); elementName = org.geotools.wfs.v1_0.WFS.GetFeature;
Configuration configuration = new ApplicationSchemaConfiguration( xsd, new org.geotools.wfs.v1_0.WFSConfiguration());
@Override protected GetFeatureParser parser(GetFeatureRequest request, InputStream in) throws IOException { FeatureType queryType = request.getQueryType(); if (queryType == null) { queryType = request.getFullType(); } Configuration config = null; if (request.getStrategy().getVersion().equals(Versions.v2_0_0.toString())) { config = new org.geotools.wfs.v2_0.WFSConfiguration(); } else if (request.getStrategy().getVersion().equals(Versions.v1_1_0.toString())) { config = new org.geotools.wfs.v1_1.WFSConfiguration(); } else if (request.getStrategy().getVersion().equals(Versions.v1_0_0.toString())) { config = new org.geotools.wfs.v1_0.WFSConfiguration(); } return new PullParserFeatureReader( config, in, queryType, request.getStrategy().getConfig().getAxisOrder()); }
System.out.println(response.getOutputStreamContent()); Parser p = new Parser(new WFSConfiguration()); FeatureCollectionType fct = (FeatureCollectionType) p.parse(new ByteArrayInputStream( response.getOutputStreamContent().getBytes()));
List<FeatureCollection> results = new ArrayList<FeatureCollection>(); try { Parser parser = new Parser(new WFSConfiguration()); parser.setStrict(false); parser.setEntityResolver(resolverProvider.getEntityResolver());
Parser p = new Parser(new WFSConfiguration()); FeatureCollectionType fct = (FeatureCollectionType) p.parse(new ByteArrayInputStream( response.getOutputStreamContent().getBytes()));
Parser p = new Parser(new WFSConfiguration()); FeatureCollectionType fct = (FeatureCollectionType) p.parse(new ByteArrayInputStream( response.getOutputStreamContent().getBytes()));