Tabnine Logo
XLink.setTitle
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.apache.sis.core/sis-utility

/**
 * Sets the {@code title} attribute value.
 *
 * @param  title  the new attribute value.
 * @category xlink
 */
public final void setTitle(String title) {
  if (title != null && !(title = title.trim()).isEmpty()) {
    xlink(true).setTitle(new SimpleInternationalString(title));
  }
}
origin: apache/sis

/**
 * Sets the {@code title} attribute value.
 *
 * @param  title  the new attribute value.
 * @category xlink
 */
public final void setTitle(String title) {
  if (title != null && !(title = title.trim()).isEmpty()) {
    xlink(true).setTitle(new SimpleInternationalString(title));
  }
}
origin: apache/sis

link.setType(XLink.Type.AUTO);
link.setRole(new URI("org:apache:sis:role"));
link.setTitle(new SimpleInternationalString("Some title"));
link.freeze();
assertFalse(link.hashCode() == other.hashCode());
other.setTitle(new SimpleInternationalString("Some title"));
assertEquals(link, other);
assertEquals(link.hashCode(), other.hashCode());
origin: apache/sis

link.setShow(XLink.Show.REPLACE);
link.setActuate(XLink.Actuate.ON_LOAD);
link.setTitle(new SimpleInternationalString("myLinkTitle"));
metadata.getIdentifierMap().putSpecialized(IdentifierSpace.XLINK, link);
if (useReferenceResolverMock) {
origin: apache/sis

assertFalse("Hash code can not be zero.", hashCode == 0);
link.setTitle(new SimpleInternationalString("Some title"));
assertEquals(XLink.Type.EXTENDED, link.getType());
assertEquals("XLink[type=\"extended\", role=\"org:apache:sis:role\", title=\"Some title\"]", link.toString());
org.apache.sis.xmlXLinksetTitle

Javadoc

Sets a human-readable string with a short description for the arc.

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.
  • 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
  • canWrite
    Checks if the given attribute can be set.
  • append,
  • canWrite,
  • fieldMask,
  • getActuate,
  • getArcRole,
  • getFrom,
  • getLabel,
  • getRole,
  • getShow

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • JTextField (javax.swing)
  • Top 12 Jupyter Notebook extensions
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