Codota Logo
XLink.getArcRole
Code IndexAdd Codota to your IDE (free)

How to use
getArcRole
method
in
org.apache.sis.xml.XLink

Best Java code snippets using org.apache.sis.xml.XLink.getArcRole (Showing top 4 results out of 315)

  • Common ways to obtain XLink
private void myMethod () {
XLink x =
  • Codota Iconnew XLink()
  • Smart code suggestions by Codota
}
origin: org.apache.sis.core/sis-utility

/**
 * A URI reference for some description of the arc role.
 *
 * @return the current value, or {@code null} if none.
 * @category xlink
 */
@XmlSchemaType(name = "anyURI")
@XmlAttribute(name = "arcrole", namespace = Namespaces.XLINK)
public final String getArcRole() {
  final XLink link = xlink(false);
  return (link != null) ? toString(link.getArcRole()) : null;
}
origin: apache/sis

/**
 * A URI reference for some description of the arc role.
 *
 * @return the current value, or {@code null} if none.
 * @category xlink
 */
@XmlSchemaType(name = "anyURI")
@XmlAttribute(name = "arcrole", namespace = Namespaces.XLINK)
public final String getArcRole() {
  final XLink link = xlink(false);
  return (link != null) ? toString(link.getArcRole()) : null;
}
origin: apache/sis

/**
 * Returns a string representation of this object. The default implementation returns the
 * simple class name followed by non-null attributes, as in the example below:
 *
 * {@preformat text
 *     XLink[type="locator", href="urn:ogc:def:method:EPSG::4326"]
 * }
 */
@Override
public String toString() {
  final StringBuilder buffer = new StringBuilder(64);
  buffer.append(Classes.getShortClassName(this)).append('[');
  append(buffer, "type",    getType());
  append(buffer, "href",    getHRef());
  append(buffer, "role",    getRole());
  append(buffer, "arcrole", getArcRole());
  append(buffer, "title",   getTitle());
  append(buffer, "show",    getShow());
  append(buffer, "actuate", getActuate());
  append(buffer, "label",   getLabel());
  append(buffer, "from",    getFrom());
  append(buffer, "to",      getTo());
  return buffer.append(']').toString();
}
origin: org.apache.sis.core/sis-utility

/**
 * Returns a string representation of this object. The default implementation returns the
 * simple class name followed by non-null attributes, as in the example below:
 *
 * {@preformat text
 *     XLink[type="locator", href="urn:ogc:def:method:EPSG::4326"]
 * }
 */
@Override
public String toString() {
  final StringBuilder buffer = new StringBuilder(64);
  buffer.append(Classes.getShortClassName(this)).append('[');
  append(buffer, "type",    getType());
  append(buffer, "href",    getHRef());
  append(buffer, "role",    getRole());
  append(buffer, "arcrole", getArcRole());
  append(buffer, "title",   getTitle());
  append(buffer, "show",    getShow());
  append(buffer, "actuate", getActuate());
  append(buffer, "label",   getLabel());
  append(buffer, "from",    getFrom());
  append(buffer, "to",      getTo());
  return buffer.append(']').toString();
}
org.apache.sis.xmlXLinkgetArcRole

Javadoc

Returns a URI reference for some description of the arc role.

Popular methods of XLink

  • <init>
    Creates a new link as a copy of the given link.
  • setHRef
    Sets the URN to a resources.
  • equals
    Compares this XLink with the given object for equality.
  • getHRef
    Returns a URN to an external resources, or to an other part of a XML document, or an identifier.
  • getType
    Returns the type of link. May have one of the following values: * simple: a simple link * extended:
  • hashCode
    Returns a hash code value for this XLink.
  • setActuate
    Sets the desired timing of traversal from the starting resource to the ending resource.
  • setRole
    Sets the URI reference for some description of the arc role.
  • setShow
    Sets the desired presentation of the ending resource on traversal from the starting resource.
  • setTitle
    Sets a human-readable string with a short description for the arc.
  • setType
    Sets the type of link. Any value different than org.apache.sis.xml.XLink.Type#AUTO (including null)
  • append
    Appends the given attribute in the given buffer if the attribute value is not null. If the given val
  • setType,
  • append,
  • canWrite,
  • fieldMask,
  • getActuate,
  • getFrom,
  • getLabel,
  • getRole,
  • getShow

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Notification (javax.management)
  • BoxLayout (javax.swing)
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