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

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • 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
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now