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

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

Best Java code snippets using net.opengis.ows.x11.MetadataType.setArcrole (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.sensorweb.sos/coding-ows-v110

/**
 * Encode OwsMetadata element
 *
 * @param owsMeatadata
 *            SOS OwsMetadata object
 * @return XML OwsMetadata object
 */
private XmlObject encodeOwsMetadata(OwsMetadata owsMeatadata) {
  MetadataType xbMetadata = MetadataType.Factory.newInstance(XmlOptionsHelper.getInstance().getXmlOptions());
  if (owsMeatadata.isSetActuate()) {
    xbMetadata.setActuate(ActuateType.Enum.forString(owsMeatadata.getActuate().name()));
  } else if (owsMeatadata.isSetArcrole()) {
    xbMetadata.setArcrole(owsMeatadata.getArcrole());
  } else if (owsMeatadata.isSetHref()) {
    xbMetadata.setHref(owsMeatadata.getHref());
  } else if (owsMeatadata.isSetRole()) {
    xbMetadata.setRole(owsMeatadata.getRole());
  } else if (owsMeatadata.isSetShow()) {
    xbMetadata.setShow(ShowType.Enum.forString(owsMeatadata.getShow().toString()));
  } else if (owsMeatadata.isSetTitle()) {
    xbMetadata.setTitle(owsMeatadata.getTitle());
  }
  xbMetadata.setType(TypeType.Enum.forString(owsMeatadata.getType().name()));
  return xbMetadata;
}
net.opengis.ows.x11MetadataTypesetArcrole

Javadoc

Sets the "arcrole" 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
  • getRole
    Gets the "role" attribute
  • getShow
    Gets the "show" attribute
  • getTitle
    Gets the "title" attribute
  • setActuate
    Sets the "actuate" attribute
  • setHref
    Sets the "href" attribute
  • setRole
    Sets the "role" attribute
  • setShow
    Sets the "show" attribute
  • setRole,
  • setShow,
  • setTitle,
  • setType

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSharedPreferences (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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