Tabnine Logo
net.opengis.wfs
Code IndexAdd Tabnine to your IDE (free)

How to use net.opengis.wfs

Best Java code snippets using net.opengis.wfs (Showing top 20 results out of 315)

origin: geotools/geotools

  @Override
  public String getAbstract() {
    return eType.getAbstract();
  }
}
origin: geotools/geotools

  /** @see WFSServiceInfo#getVersion() */
  public String getVersion() {
    return capabilities.getVersion();
  }
}
origin: geotools/geotools

  /**
   * Simply returns an instance of {@link DescribeFeatureTypeType} and lets the framework to
   * reflectively set the object properties.
   */
  public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
    return wfsFactory.createDescribeFeatureTypeType();
  }
}
origin: geotools/geotools

  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated modifiable
   */
  public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
    DeleteElementType deleteElement = wfsfactory.createDeleteElementType();

    // &lt;xsd:element maxOccurs="1" minOccurs="1" ref="ogc:Filter"&gt;
    deleteElement.setFilter((Filter) node.getChildValue(Filter.class));

    // &lt;xsd:attribute name="handle" type="xsd:string" use="optional"/&gt;
    if (node.hasAttribute("handle")) {
      deleteElement.setHandle((String) node.getAttributeValue("handle"));
    }

    // &lt;xsd:attribute name="typeName" type="xsd:QName" use="required"/&gt;
    deleteElement.setTypeName((QName) node.getAttributeValue(QName.class));

    return deleteElement;
  }
}
origin: geotools/geotools

protected DeleteElementType createDelete(WfsFactory factory, Delete elem) throws Exception {
  DeleteElementType delete = factory.createDeleteElementType();
  QName typeName = elem.getTypeName();
  delete.setTypeName(typeName);
  Filter filter = elem.getFilter();
  delete.setFilter(filter);
  return delete;
}
origin: geotools/geotools

public Object parse(ElementInstance instance, Node node, Object value) {
  InsertResultsType resultType = wfsfactory.createInsertResultsType();
  for (Object featureid : node.getChildValues("FeatureId")) {
    if (!"none".equals(featureid.toString())) {
      InsertedFeatureType feature = wfsfactory.createInsertedFeatureType();
      feature.getFeatureId().add(featureid);
      resultType.getFeature().add(feature);
    }
  }
  return resultType;
}
origin: geotools/geotools

  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated modifiable
   */
  public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
    OperationsType om = factory.createOperationsType();
    for (Object ob : OperationType.VALUES) {
      if (node.getChild(((OperationType) ob).getName()) != null) {
        om.getOperation().add(ob);
      }
    }
    return om;
  }
}
origin: geotools/geotools

@Override
public Set<String> getOutputFormats() {
  final OutputFormatListType outputFormats = eType.getOutputFormats();
  if (null == outputFormats) {
    return Collections.emptySet();
  }
  @SuppressWarnings("unchecked")
  List<String> ftypeDeclaredFormats = outputFormats.getFormat();
  if (null == ftypeDeclaredFormats || ftypeDeclaredFormats.isEmpty()) {
    return Collections.emptySet();
  }
  return new HashSet<String>(ftypeDeclaredFormats);
}
origin: geotools/geotools

  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated modifiable
   */
  public Object parse(InstanceComponent instance, Object value) throws Exception {
    AttributeImpl att = (AttributeImpl) instance;
    String text = att.getText();
    AllSomeType allSomeType = AllSomeType.get(text);
    return allSomeType;
  }
}
origin: geotools/geotools

  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated modifiable
   */
  public Object parse(InstanceComponent instance, Object value) throws Exception {
    assert value instanceof String;
    String literal = (String) value;
    ResultTypeType resultTypeType = ResultTypeType.get(literal);
    return resultTypeType;
  }
}
origin: geotools/geotools

/**
 * Maps to the capabilities' service identification abstract
 *
 * @see ServiceInfo#getDescription()
 */
public String getDescription() {
  ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification();
  return serviceIdentification == null ? null : serviceIdentification.getAbstract();
}
origin: geotools/geotools

@SuppressWarnings("unchecked")
@Override
public List<String> getOtherSRS() {
  return eType.getOtherSRS();
}
origin: geotools/geotools

/** @see WFSStrategy#getFilterCapabilities() */
@Override
public FilterCapabilities getFilterCapabilities() {
  FilterCapabilities wfsFilterCapabilities;
  wfsFilterCapabilities = capabilities.getFilterCapabilities();
  return wfsFilterCapabilities;
}
origin: geotools/geotools

@Override
public String getTitle() {
  return eType.getTitle();
}
origin: geotools/geotools

@Override
public String getDefaultSRS() {
  return eType.getDefaultSRS();
}
origin: geotools/geotools

@Override
public String getName() {
  return config.localTypeName(eType.getName());
}
origin: geotools/geotools

 /**
 * Returns the '<em><b>Identifier Generation Option Type</b></em>' literal with the specified name.
 * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
 * @param name the name.
 * @return the matching enumerator or <code>null</code>.
 * @generated
 */
 public static IdentifierGenerationOptionType getByName(String name) {
 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
  IdentifierGenerationOptionType result = VALUES_ARRAY[i];
  if (result.getName().equals(name)) {
   return result;
  }
 }
 return null;
}
origin: geotools/geotools

 /**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
 public AllSomeType createAllSomeTypeFromString(EDataType eDataType, String initialValue) {
 AllSomeType result = AllSomeType.get(initialValue);
 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
 return result;
}
origin: geotools/geotools

@Override
public String getDescription() {
  return eType.getAbstract();
}
origin: geotools/geotools

/** @see ServiceInfo#getTitle() */
public String getTitle() {
  ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification();
  return serviceIdentification == null ? null : serviceIdentification.getTitle();
}
net.opengis.wfs

Most used classes

  • WfsFactory
    The Factory for the model. It provides a create method for each non-abstract class of the model.
  • FeatureCollectionType
    A representation of the model object 'Feature Collection Type'. This type defines a container for t
  • GetFeatureType
    A representation of the model object 'Get Feature Type'. A GetFeature element contains one or more
  • QueryType
    A representation of the model object 'Query Type'. The Query element is of type QueryType. The foll
  • TransactionType
    A representation of the model object 'Transaction Type'. The TransactionType defines the Transactio
  • UpdateElementType,
  • DeleteElementType,
  • DescribeFeatureTypeType,
  • PropertyType,
  • InsertResultsType,
  • InsertedFeatureType,
  • OperationType,
  • TransactionResponseType,
  • AllSomeType,
  • FeatureTypeType,
  • GetFeatureWithLockType,
  • LockFeatureType,
  • LockType,
  • NativeType
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now