congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
XLink.fieldMask
Code IndexAdd Tabnine to your IDE (free)

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

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

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

final int defined = fieldMask();
final int undefined = ~(defined | 0x1);
for (final Type candidate : Type.values()) {
origin: apache/sis

final int defined = fieldMask();
final int undefined = ~(defined | 0x1);
for (final Type candidate : Type.values()) {
origin: org.apache.sis.core/sis-utility

/**
 * Sets the type of link. Any value different than {@link org.apache.sis.xml.XLink.Type#AUTO
 * Type.AUTO} (including {@code null}) will overwrite the value inferred automatically by
 * {@link #getType()}. A {@code AUTO} value will enable automatic type detection.
 *
 * @param  type  the new type of link, or {@code null} if none.
 */
public void setType(final Type type) {
  canWrite(0x1, "type", "type"); // We want a non-null value in all cases.
  if (type != null && (fieldMask() & ~type.fieldMask) != 0) {
    throw new IllegalStateException(Errors.format(Errors.Keys.InconsistentAttribute_2, "type", type.identifier()));
  }
  this.type = type;
}
origin: apache/sis

/**
 * Sets the type of link. Any value different than {@link org.apache.sis.xml.XLink.Type#AUTO
 * Type.AUTO} (including {@code null}) will overwrite the value inferred automatically by
 * {@link #getType()}. A {@code AUTO} value will enable automatic type detection.
 *
 * @param  type  the new type of link, or {@code null} if none.
 */
public void setType(final Type type) {
  canWrite(0x1, "type", "type"); // We want a non-null value in all cases.
  if (type != null && (fieldMask() & ~type.fieldMask) != 0) {
    throw new IllegalStateException(Errors.format(Errors.Keys.InconsistentAttribute_2, "type", type.identifier()));
  }
  this.type = type;
}
org.apache.sis.xmlXLinkfieldMask

Javadoc

Returns a mask of fields for which a non-null value has been defined. The bit values are defined in the XLink.Type#fieldMask javadoc.

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,
  • getActuate,
  • getArcRole,
  • getFrom,
  • getLabel,
  • getRole,
  • getShow

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • 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
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Best IntelliJ plugins
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