Codota Logo
MetadataType.getRole
Code IndexAdd Codota to your IDE (free)

How to use
getRole
method
in
net.opengis.ows.x11.MetadataType

Best Java code snippets using net.opengis.ows.x11.MetadataType.getRole (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.n52.svalbard/svalbard-xmlbeans

private OwsMetadata parseMetadata(MetadataType metadata) {
  if (metadata == null) {
    return null;
  }
  URI href = Optional.ofNullable(metadata.getHref()).map(Strings::emptyToNull).map(URI::create).orElse(null);
  URI role = Optional.ofNullable(metadata.getRole()).map(Strings::emptyToNull).map(URI::create).orElse(null);
  URI arcrole =
      Optional.ofNullable(metadata.getArcrole()).map(Strings::emptyToNull).map(URI::create).orElse(null);
  Show show = Optional.ofNullable(metadata.getShow()).map(Object::toString).map(Show::valueOf).orElse(null);
  Actuate actuate =
      Optional.ofNullable(metadata.getActuate()).map(Object::toString).map(Actuate::valueOf).orElse(null);
  URI about =
      Optional.ofNullable(metadata.getAbout()).map(Strings::emptyToNull).map(URI::create).orElse(null);
  String title = metadata.getTitle();
  return new OwsMetadata(href, role, arcrole, title, show, actuate, about);
}
net.opengis.ows.x11MetadataTypegetRole

Javadoc

Gets the "role" attribute

Popular methods of MetadataType

  • set
  • getAbout
    Gets the "about" attribute
  • getActuate
    Gets the "actuate" attribute
  • getArcrole
    Gets the "arcrole" attribute
  • getHref
    Gets the "href" attribute
  • getShow
    Gets the "show" attribute
  • getTitle
    Gets the "title" attribute
  • setActuate
    Sets the "actuate" attribute
  • setArcrole
    Sets the "arcrole" attribute
  • setHref
    Sets the "href" attribute
  • setRole
    Sets the "role" attribute
  • setShow
    Sets the "show" attribute
  • setRole,
  • setShow,
  • setTitle,
  • setType

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now