Tabnine Logo
Tag.getAttribute
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttribute
method
in
aQute.lib.tag.Tag

Best Java code snippets using aQute.lib.tag.Tag.getAttribute (Showing top 20 results out of 315)

origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute/bndlib

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute.bnd/bnd

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute.bnd/biz.aQute.repository

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute.bnd/bndlib

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute/bnd

/**
 * Return the attribute value or a default if not defined.
 */
public String getAttribute(String key, String deflt) {
  String answer = getAttribute(key);
  return answer == null ? deflt : answer;
}
origin: biz.aQute/bndlib

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute.bnd/bndlib

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute.bnd/biz.aQute.bnd

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute.bnd/biz.aQute.bndlib

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute/bnd

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute.bnd/bnd

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute.bnd/biz.aQute.repository

public String findRecursiveAttribute(String name) {
  String value = getAttribute(name);
  if (value != null)
    return value;
  if (parent != null)
    return parent.findRecursiveAttribute(name);
  return null;
}
origin: biz.aQute.bnd/biz.aQute.bndlib

public String getString(String path) {
  String attribute = null;
  int index = path.indexOf("@");
  if (index >= 0) {
    // attribute
    attribute = path.substring(index + 1);
    if (index > 0) {
      // prefix path
      path = path.substring(index - 1); // skip -1
    } else
      path = "";
  }
  Collection<Tag> tags = select(path);
  StringBuilder sb = new StringBuilder();
  for (Tag tag : tags) {
    if (attribute == null)
      tag.getContentsAsString(sb);
    else
      sb.append(tag.getAttribute(attribute));
  }
  return sb.toString();
}
origin: biz.aQute/bndlib

public String getString(String path) {
  String attribute = null;
  int index = path.indexOf("@");
  if (index >= 0) {
    // attribute
    attribute = path.substring(index + 1);
    if (index > 0) {
      // prefix path
      path = path.substring(index - 1); // skip -1
    } else
      path = "";
  }
  Collection<Tag> tags = select(path);
  StringBuilder sb = new StringBuilder();
  for (Tag tag : tags) {
    if (attribute == null)
      tag.getContentsAsString(sb);
    else
      sb.append(tag.getAttribute(attribute));
  }
  return sb.toString();
}
origin: biz.aQute.bnd/biz.aQute.bnd

public String getString(String path) {
  String attribute = null;
  int index = path.indexOf("@");
  if (index >= 0) {
    // attribute
    attribute = path.substring(index + 1);
    if (index > 0) {
      // prefix path
      path = path.substring(index - 1); // skip -1
    } else
      path = "";
  }
  Collection<Tag> tags = select(path);
  StringBuilder sb = new StringBuilder();
  for (Tag tag : tags) {
    if (attribute == null)
      tag.getContentsAsString(sb);
    else
      sb.append(tag.getAttribute(attribute));
  }
  return sb.toString();
}
origin: biz.aQute.bnd/bndlib

public String getString(String path) {
  String attribute = null;
  int index = path.indexOf("@");
  if (index >= 0) {
    // attribute
    attribute = path.substring(index + 1);
    if (index > 0) {
      // prefix path
      path = path.substring(index - 1); // skip -1
    } else
      path = "";
  }
  Collection<Tag> tags = select(path);
  StringBuilder sb = new StringBuilder();
  for (Tag tag : tags) {
    if (attribute == null)
      tag.getContentsAsString(sb);
    else
      sb.append(tag.getAttribute(attribute));
  }
  return sb.toString();
}
origin: biz.aQute.bnd/biz.aQute.repository

public String getString(String path) {
  String attribute = null;
  int index = path.indexOf("@");
  if (index >= 0) {
    // attribute
    attribute = path.substring(index + 1);
    if (index > 0) {
      // prefix path
      path = path.substring(index - 1); // skip -1
    } else
      path = "";
  }
  Collection<Tag> tags = select(path);
  StringBuilder sb = new StringBuilder();
  for (Tag tag : tags) {
    if (attribute == null)
      tag.getContentsAsString(sb);
    else
      sb.append(tag.getAttribute(attribute));
  }
  return sb.toString();
}
origin: biz.aQute/bnd

public String getString(String path) {
  String attribute = null;
  int index = path.indexOf("@");
  if (index >= 0) {
    // attribute
    attribute = path.substring(index + 1);
    if (index > 0) {
      // prefix path
      path = path.substring(index - 1); // skip -1
    } else
      path = "";
  }
  Collection<Tag> tags = select(path);
  StringBuffer sb = new StringBuffer();
  for (Tag tag : tags) {
    if (attribute == null)
      tag.getContentsAsString(sb);
    else
      sb.append(tag.getAttribute(attribute));
  }
  return sb.toString();
}
aQute.lib.tagTaggetAttribute

Javadoc

Return the attribute value.

Popular methods of Tag

  • <init>
    Construct a new Tag with a name and a set of attributes. The attributes are given as ( name, value )
  • addAttribute
  • addContent
    Add a new content string.
  • print
  • escape
    Escape a string, do entity conversion.
  • findRecursiveAttribute
  • getContentsAsString
    convenient method to get the contents in a StringBuilder.
  • getName
    Return the name of the tag.
  • getNameSpace
  • match
  • select
  • spaces
    Make spaces.
  • select,
  • spaces,
  • formatted,
  • computeArrayElementName,
  • convertDTO,
  • fromDTO,
  • getFields,
  • getPath,
  • invalid

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • 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
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • CodeWhisperer alternatives
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