Codota Logo
XLink.setTitle
Code IndexAdd Codota 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)

  • 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

/**
 * 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

  • Finding current android device location
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • JFileChooser (javax.swing)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
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