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

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

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

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

/**
 * convenient method to get the contents in a StringBuilder.
 */
public void getContentsAsString(StringBuilder sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o);
  }
}
origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * convenient method to get the contents in a StringBuilder.
 */
public void getContentsAsString(StringBuilder sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o);
  }
}
origin: biz.aQute.bnd/biz.aQute.repository

/**
 * convenient method to get the contents in a StringBuilder.
 */
public void getContentsAsString(StringBuilder sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o);
  }
}
origin: biz.aQute.bnd/biz.aQute.bndlib

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuilder sb = new StringBuilder();
  getContentsAsString(sb);
  return sb.toString();
}
origin: biz.aQute.bnd/bndlib

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuilder sb = new StringBuilder();
  getContentsAsString(sb);
  return sb.toString();
}
origin: biz.aQute/bndlib

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuilder sb = new StringBuilder();
  getContentsAsString(sb);
  return sb.toString();
}
origin: biz.aQute.bnd/biz.aQute.bnd

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuilder sb = new StringBuilder();
  getContentsAsString(sb);
  return sb.toString();
}
origin: biz.aQute.bnd/bnd

/**
 * convenient method to get the contents in a StringBuilder.
 */
public void getContentsAsString(StringBuilder sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o.toString());
  }
}
origin: biz.aQute/bnd

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuffer sb = new StringBuffer();
  getContentsAsString(sb);
  return sb.toString();
}
origin: biz.aQute/bnd

/**
 * convenient method to get the contents in a StringBuffer.
 */
public void getContentsAsString(StringBuffer sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o.toString());
  }
}
origin: biz.aQute/bndlib

/**
 * convenient method to get the contents in a StringBuilder.
 */
public void getContentsAsString(StringBuilder sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o.toString());
  }
}
origin: biz.aQute.bnd/bndlib

/**
 * convenient method to get the contents in a StringBuilder.
 */
public void getContentsAsString(StringBuilder sb) {
  for (Object o : content) {
    if (o instanceof Tag)
      ((Tag) o).getContentsAsString(sb);
    else
      sb.append(o.toString());
  }
}
origin: biz.aQute.bnd/bnd

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuilder sb = new StringBuilder();
  getContentsAsString(sb);
  return sb.toString();
}
origin: biz.aQute.bnd/biz.aQute.repository

/**
 * Return the whole contents as a String (no tag info and attributes).
 */
public String getContentsAsString() {
  StringBuilder sb = new StringBuilder();
  getContentsAsString(sb);
  return sb.toString();
}
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/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();
}
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/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/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();
}
aQute.lib.tagTaggetContentsAsString

Javadoc

Return the whole contents as a String (no tag info and attributes).

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
  • getAttribute
    Return the attribute value or a default if not defined.
  • 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

  • Finding current android device location
  • startActivity (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top PhpStorm 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