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

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

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

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.xmlXLinkappend

Javadoc

Appends the given attribute in the given buffer if the attribute value is not null. If the given value is an attribute, the XML name will be used rather than the Java field name.

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • getApplicationContext (Context)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JTable (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