@Override public List<Query> getQueries() { // TODO: instead of creating a new list we should wrap the existing on in case the // client // code needs to modify List<Query> list = new ArrayList<Query>(); for (Object o : getAdaptedQueries()) { list.add(new Query.WFS11((EObject) o)); } return list; }
@Override public Query createQuery() { return new Query.WFS11(((WfsFactory) getFactory()).createQueryType()); }
public static Query adapt(Object query) { if (query instanceof QueryType) { return new WFS11((EObject) query); } else if (query instanceof net.opengis.wfs20.QueryType) { return new WFS20((EObject) query); } return null; }