congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TypedLiteralType
Code IndexAdd Tabnine to your IDE (free)

How to use
TypedLiteralType
in
net.opengis.wcs10

Best Java code snippets using net.opengis.wcs10.TypedLiteralType (Showing top 7 results out of 315)

origin: geotools/geotools

if (singleValue != null) {
  TypedLiteralType theValue = Wcs10Factory.eINSTANCE.createTypedLiteralType();
  theValue.setValue((String) singleValue.getValue());
  axis.getSingleValue().add(theValue);
  if (interval.getChild("min") != null) {
    TypedLiteralType theValue = Wcs10Factory.eINSTANCE.createTypedLiteralType();
    theValue.setValue((String) interval.getChildValue("min"));
    range.setMin(theValue);
    theValue.setValue((String) interval.getChildValue("max"));
    range.setMax(theValue);
    theValue.setValue((String) interval.getChildValue("res"));
    range.setRes(theValue);
origin: org.geoserver/gs-wcs1_0

      Integer.parseInt(
          ((TypedLiteralType) axisSubset.getSingleValue().get(0))
              .getValue());
} else if (axisSubset.getInterval().size() > 0) {
  IntervalType interval = (IntervalType) axisSubset.getInterval().get(0);
  int min = Integer.parseInt(interval.getMin().getValue());
  int max = Integer.parseInt(interval.getMax().getValue());
  int res =
      (interval.getRes() != null
          ? Integer.parseInt(interval.getRes().getValue())
          : 1);
        Double.parseDouble(
            ((TypedLiteralType) axisSubset.getSingleValue().get(s))
                .getValue());
  int min = Integer.parseInt(interval.getMin().getValue());
  int max = Integer.parseInt(interval.getMax().getValue());
  int res =
      (interval.getRes() != null
          ? Integer.parseInt(interval.getRes().getValue())
          : 1);
origin: org.geoserver/gs-wcs1_0

                  axis.getSingleValue()
                      .get(s))
              .getValue()));
int min = Integer.parseInt(interval.getMin().getValue());
int max = Integer.parseInt(interval.getMax().getValue());
int res =
    (interval.getRes() != null
        ? Integer.parseInt(interval.getRes().getValue())
        : 1);
        ((TypedLiteralType)
                axis.getSingleValue().get(s))
            .getValue()));
                      axis.getSingleValue()
                          .get(s))
                  .getValue())
          - 1;
IntervalType interval =
    (IntervalType) axis.getInterval().get(0);
int min = Integer.parseInt(interval.getMin().getValue());
int max = Integer.parseInt(interval.getMax().getValue());
int res =
    (interval.getRes() != null
        ? Integer.parseInt(interval.getRes().getValue())
        : 1);
origin: org.geoserver/wcs1_0

assertEquals("1", interval.getMin().getValue());
assertEquals("3", interval.getMax().getValue());
assertEquals("1", interval.getRes().getValue());
origin: org.geoserver/gs-wcs1_0

TypedLiteralType res = Wcs10Factory.eINSTANCE.createTypedLiteralType();
if (unparsed.size() == 2) {
  min.setValue(unparsed.get(0));
  max.setValue(unparsed.get(1));
  min.setValue(unparsed.get(0));
  max.setValue(unparsed.get(1));
  res.setValue(unparsed.get(2));
  singleValue.setValue(bandValue);
origin: org.geoserver/gs-wcs1_0

assertEquals("1", interval.getMin().getValue());
assertEquals("3", interval.getMax().getValue());
assertEquals("1", interval.getRes().getValue());
origin: org.geoserver/gs-wcs1_0

    TypedLiteralType res = Wcs10Factory.eINSTANCE.createTypedLiteralType();
    if (unparsed.size() == 2) {
      min.setValue(unparsed.get(0));
      max.setValue(unparsed.get(1));
      min.setValue(unparsed.get(0));
      max.setValue(unparsed.get(1));
      res.setValue(unparsed.get(2));
      TypedLiteralType singleValue =
          Wcs10Factory.eINSTANCE.createTypedLiteralType();
      singleValue.setValue(bandValue);
singleValue.setValue(String.valueOf(axis));
net.opengis.wcs10TypedLiteralType

Javadoc

A representation of the model object 'Typed Literal Type'. A single value for a variable, encoded as a string. This type can be used for one value, for a spacing between allowed values, or for the default value of a parameter. The "type" attribute indicates the datatype of this value (default is a string). The value for a typed literal is found by applying the datatype mapping associated with the datatype URI to the lexical form string.

The following features are supported:

  • net.opengis.wcs10.TypedLiteralType#getValue
  • net.opengis.wcs10.TypedLiteralType#getType

Most used methods

  • getValue
    Returns the value of the 'Value' attribute. If the meaning of the 'Value' attribute isn't clear, the
  • setValue
    Sets the value of the ' net.opengis.wcs10.TypedLiteralType#getValue' attribute.

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • BoxLayout (javax.swing)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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