Tabnine Logo
Schema
Code IndexAdd Tabnine to your IDE (free)

How to use
Schema
in
de.micromata.opengis.kml.v_2_2_0

Best Java code snippets using de.micromata.opengis.kml.v_2_2_0.Schema (Showing top 20 results out of 315)

origin: de.micromata.jak/JavaAPIforKml

/**
 * Create an instance of {@link Schema}
 * 
 */
public static Schema createSchema() {
  return new Schema();
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setId(String)
 * 
 * @param id
 *     required parameter
 */
public Schema withId(final String id) {
  this.setId(id);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setName(String)
 * 
 * @param name
 *     required parameter
 */
public Schema withName(final String name) {
  this.setName(name);
  return this;
}
origin: org.geoserver/kml

private void addSchema(Document doc, String id, SimpleFeatureType featureType) {
  Schema schema = doc.createAndAddSchema();
  schema.setId(id);
  schema.setName(id);
  for (AttributeDescriptor ad : featureType.getAttributeDescriptors()) {
    // skip geometry attributes
    if (ad instanceof GeometryDescriptor) {
      continue;
    }
    SimpleField field = schema.createAndAddSimpleField();
    field.setName(ad.getLocalName());
    field.setType(getKmlFieldType(ad));
  }
}
origin: goGPS-Project/goGPS_Java

Schema schema = new Schema().withId("schema1")
        .withSimpleField(Arrays.asList(
          new SimpleField().withName("index").withType("uint"),
          new SimpleField().withName("coord").withType("string"),
origin: de.micromata.jak/JavaAPIforKml

@Override
public Schema clone() {
  Schema copy;
  try {
    copy = ((Schema) super.clone());
  } catch (CloneNotSupportedException _x) {
    throw new InternalError((_x.toString()));
  }
  copy.simpleField = new ArrayList<SimpleField>((getSimpleField().size()));
  for (SimpleField iter: simpleField) {
    copy.simpleField.add(iter.clone());
  }
  copy.schemaExtension = new ArrayList<Object>((getSchemaExtension().size()));
  for (Object iter: schemaExtension) {
    copy.schemaExtension.add(iter);
  }
  return copy;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * add a value to the simpleField property collection
 * 
 * @param simpleField
 *     Objects of the following type are allowed in the list: {@link SimpleField}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public Schema addToSimpleField(final SimpleField simpleField) {
  this.getSimpleField().add(simpleField);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setSchemaExtension(List<Object>)
 * 
 * @param schemaExtension
 *     required parameter
 */
public Schema withSchemaExtension(final List<Object> schemaExtension) {
  this.setSchemaExtension(schemaExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setSimpleField(List<SimpleField>)
 * 
 * @param simpleField
 *     required parameter
 */
public Schema withSimpleField(final List<SimpleField> simpleField) {
  this.setSimpleField(simpleField);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * add a value to the schemaExtension property collection
 * 
 * @param schemaExtension
 *     Objects of the following type are allowed in the list: {@code <}{@link SimpleArrayField}{@code>}{@link JAXBElement}{@code <}{@link Object}{@code>}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public Schema addToSchemaExtension(final Object schemaExtension) {
  this.getSchemaExtension().add(schemaExtension);
  return this;
}
origin: de.micromata.jak/JavaAPIforKml

@Override
public Document clone() {
  Document copy;
  copy = ((Document) super.clone());
  copy.schema = new ArrayList<Schema>((getSchema().size()));
  for (Schema iter: schema) {
    copy.schema.add(iter.clone());
  }
  copy.feature = new ArrayList<Feature>((getFeature().size()));
  for (Feature iter: feature) {
    copy.feature.add(iter.clone());
  }
  copy.documentSimpleExtension = new ArrayList<Object>((getDocumentSimpleExtension().size()));
  for (Object iter: documentSimpleExtension) {
    copy.documentSimpleExtension.add(iter);
  }
  copy.documentObjectExtension = new ArrayList<AbstractObject>((getDocumentObjectExtension().size()));
  for (AbstractObject iter: documentObjectExtension) {
    copy.documentObjectExtension.add(iter.clone());
  }
  return copy;
}
origin: micromata/javaapiforkml

@Override
public Schema clone() {
  Schema copy;
  try {
    copy = ((Schema) super.clone());
  } catch (CloneNotSupportedException _x) {
    throw new InternalError((_x.toString()));
  }
  copy.simpleField = new ArrayList<SimpleField>((getSimpleField().size()));
  for (SimpleField iter: simpleField) {
    copy.simpleField.add(iter.clone());
  }
  copy.schemaExtension = new ArrayList<Object>((getSchemaExtension().size()));
  for (Object iter: schemaExtension) {
    copy.schemaExtension.add(iter);
  }
  return copy;
}
origin: micromata/javaapiforkml

/**
 * add a value to the simpleField property collection
 * 
 * @param simpleField
 *     Objects of the following type are allowed in the list: {@link SimpleField}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public Schema addToSimpleField(final SimpleField simpleField) {
  this.getSimpleField().add(simpleField);
  return this;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setSchemaExtension(List<Object>)
 * 
 * @param schemaExtension
 *     required parameter
 */
public Schema withSchemaExtension(final List<Object> schemaExtension) {
  this.setSchemaExtension(schemaExtension);
  return this;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setSimpleField(List<SimpleField>)
 * 
 * @param simpleField
 *     required parameter
 */
public Schema withSimpleField(final List<SimpleField> simpleField) {
  this.setSimpleField(simpleField);
  return this;
}
origin: micromata/javaapiforkml

/**
 * add a value to the schemaExtension property collection
 * 
 * @param schemaExtension
 *     Objects of the following type are allowed in the list: {@code <}{@link SimpleArrayField}{@code>}{@link JAXBElement}{@code <}{@link Object}{@code>}
 * @return
 *     <tt>true</tt> (as general contract of <tt>Collection.add</tt>). 
 */
public Schema addToSchemaExtension(final Object schemaExtension) {
  this.getSchemaExtension().add(schemaExtension);
  return this;
}
origin: micromata/javaapiforkml

@Override
public Document clone() {
  Document copy;
  copy = ((Document) super.clone());
  copy.schema = new ArrayList<Schema>((getSchema().size()));
  for (Schema iter: schema) {
    copy.schema.add(iter.clone());
  }
  copy.feature = new ArrayList<Feature>((getFeature().size()));
  for (Feature iter: feature) {
    copy.feature.add(iter.clone());
  }
  copy.documentSimpleExtension = new ArrayList<Object>((getDocumentSimpleExtension().size()));
  for (Object iter: documentSimpleExtension) {
    copy.documentSimpleExtension.add(iter);
  }
  copy.documentObjectExtension = new ArrayList<AbstractObject>((getDocumentObjectExtension().size()));
  for (AbstractObject iter: documentObjectExtension) {
    copy.documentObjectExtension.add(iter.clone());
  }
  return copy;
}
origin: micromata/javaapiforkml

/**
 * Create an instance of {@link Schema}
 * 
 */
public static Schema createSchema() {
  return new Schema();
}
origin: de.micromata.jak/JavaAPIforKml

/**
 * fluent setter
 * @see #setId(String)
 * 
 * @param id
 *     required parameter
 */
public Schema withId(final String id) {
  this.setId(id);
  return this;
}
origin: micromata/javaapiforkml

/**
 * fluent setter
 * @see #setName(String)
 * 
 * @param name
 *     required parameter
 */
public Schema withName(final String name) {
  this.setName(name);
  return this;
}
de.micromata.opengis.kml.v_2_2_0Schema

Javadoc

Specifies a custom KML schema that is used to add custom data to KML Features. The "id" attribute is required and must be unique within the KML file. is always a child of .

Syntax:
<Schema name="string" id="ID"> 
<SimpleField type="string" name="string"> 
<displayName>...</displayName>            <!-- string --> 
</SimpleField> 
</Schema>
Extends:

Most used methods

  • <init>
  • setId
  • setName
  • clone
  • createAndAddSimpleField
    Creates a new instance of SimpleField and adds it to simpleField. This method is a short version for
  • getSchemaExtension
  • getSimpleField
  • setSchemaExtension
  • setSimpleField
  • withId
    fluent setter
  • withSimpleField
    fluent setter
  • withSimpleField

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • requestLocationUpdates (LocationManager)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
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