congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Tag.findRecursiveAttribute
Code IndexAdd Tabnine to your IDE (free)

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

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

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

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  }
  return findRecursiveAttribute("xmlns");
}
origin: biz.aQute.bnd/bnd

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  }
  return findRecursiveAttribute("xmlns");
}
origin: biz.aQute/bnd

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  } else
    return findRecursiveAttribute("xmlns");
}
origin: biz.aQute.bnd/biz.aQute.repository

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  }
  return findRecursiveAttribute("xmlns");
}
origin: biz.aQute/bndlib

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  }
  return findRecursiveAttribute("xmlns");
}
origin: biz.aQute.bnd/bndlib

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  }
  return findRecursiveAttribute("xmlns");
}
origin: biz.aQute.bnd/biz.aQute.bnd

public String getNameSpace(String name) {
  int index = name.indexOf(':');
  if (index > 0) {
    String ns = name.substring(0, index);
    return findRecursiveAttribute("xmlns:" + ns);
  }
  return findRecursiveAttribute("xmlns");
}
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 boolean match(String search, Tag child, Tag mapping) {
  String target = child.getName();
  String sn = null;
  String tn = null;
  if (search.equals("*"))
    return true;
  int s = search.indexOf(':');
  if (s > 0) {
    sn = search.substring(0, s);
    search = search.substring(s + 1);
  }
  int t = target.indexOf(':');
  if (t > 0) {
    tn = target.substring(0, t);
    target = target.substring(t + 1);
  }
  if (!search.equals(target)) // different tag names
    return false;
  if (mapping == null) {
    return tn == sn || (sn != null && sn.equals(tn));
  }
  String suri = sn == null ? mapping.getAttribute("xmlns") : mapping.getAttribute("xmlns:" + sn);
  String turi = tn == null ? child.findRecursiveAttribute("xmlns") : child.findRecursiveAttribute("xmlns:" + tn);
  return ((turi == null) && (suri == null)) || ((turi != null) && turi.equals(suri));
}
origin: biz.aQute.bnd/biz.aQute.bnd

public boolean match(String search, Tag child, Tag mapping) {
  String target = child.getName();
  String sn = null;
  String tn = null;
  if (search.equals("*"))
    return true;
  int s = search.indexOf(':');
  if (s > 0) {
    sn = search.substring(0, s);
    search = search.substring(s + 1);
  }
  int t = target.indexOf(':');
  if (t > 0) {
    tn = target.substring(0, t);
    target = target.substring(t + 1);
  }
  if (!search.equals(target)) // different tag names
    return false;
  if (mapping == null) {
    return tn == sn || (sn != null && sn.equals(tn));
  }
  String suri = sn == null ? mapping.getAttribute("xmlns") : mapping.getAttribute("xmlns:" + sn);
  String turi = tn == null ? child.findRecursiveAttribute("xmlns") : child.findRecursiveAttribute("xmlns:" + tn);
  return ((turi == null) && (suri == null)) || ((turi != null) && turi.equals(suri));
}
origin: biz.aQute/bndlib

public boolean match(String search, Tag child, Tag mapping) {
  String target = child.getName();
  String sn = null;
  String tn = null;
  if (search.equals("*"))
    return true;
  int s = search.indexOf(':');
  if (s > 0) {
    sn = search.substring(0, s);
    search = search.substring(s + 1);
  }
  int t = target.indexOf(':');
  if (t > 0) {
    tn = target.substring(0, t);
    target = target.substring(t + 1);
  }
  if (!search.equals(target)) // different tag names
    return false;
  if (mapping == null) {
    return tn == sn || (sn != null && sn.equals(tn));
  }
  String suri = sn == null ? mapping.getAttribute("xmlns") : mapping.getAttribute("xmlns:" + sn);
  String turi = tn == null ? child.findRecursiveAttribute("xmlns") : child.findRecursiveAttribute("xmlns:" + tn);
  return ((turi == null) && (suri == null)) || ((turi != null) && turi.equals(suri));
}
origin: biz.aQute.bnd/biz.aQute.repository

public boolean match(String search, Tag child, Tag mapping) {
  String target = child.getName();
  String sn = null;
  String tn = null;
  if (search.equals("*"))
    return true;
  int s = search.indexOf(':');
  if (s > 0) {
    sn = search.substring(0, s);
    search = search.substring(s + 1);
  }
  int t = target.indexOf(':');
  if (t > 0) {
    tn = target.substring(0, t);
    target = target.substring(t + 1);
  }
  if (!search.equals(target)) // different tag names
    return false;
  if (mapping == null) {
    return tn == sn || (sn != null && sn.equals(tn));
  }
  String suri = sn == null ? mapping.getAttribute("xmlns") : mapping.getAttribute("xmlns:" + sn);
  String turi = tn == null ? child.findRecursiveAttribute("xmlns") : child.findRecursiveAttribute("xmlns:" + tn);
  return ((turi == null) && (suri == null)) || ((turi != null) && turi.equals(suri));
}
origin: biz.aQute.bnd/bnd

public boolean match(String search, Tag child, Tag mapping) {
  String target = child.getName();
  String sn = null;
  String tn = null;
  if (search.equals("*"))
    return true;
  int s = search.indexOf(':');
  if (s > 0) {
    sn = search.substring(0, s);
    search = search.substring(s + 1);
  }
  int t = target.indexOf(':');
  if (t > 0) {
    tn = target.substring(0, t);
    target = target.substring(t + 1);
  }
  if (!search.equals(target)) // different tag names
    return false;
  if (mapping == null) {
    return tn == sn || (sn != null && sn.equals(tn));
  }
  String suri = sn == null ? mapping.getAttribute("xmlns") : mapping.getAttribute("xmlns:" + sn);
  String turi = tn == null ? child.findRecursiveAttribute("xmlns") : child.findRecursiveAttribute("xmlns:" + tn);
  return ((turi == null) && (suri == null)) || ((turi != null) && turi.equals(suri));
}
origin: biz.aQute/bnd

public boolean match(String search, Tag child, Tag mapping) {
  String target = child.getName();
  String sn = null;
  String tn = null;
  if (search.equals("*"))
    return true;
  int s = search.indexOf(':');
  if (s > 0) {
    sn = search.substring(0, s);
    search = search.substring(s + 1);
  }
  int t = target.indexOf(':');
  if (t > 0) {
    tn = target.substring(0, t);
    target = target.substring(t + 1);
  }
  if (!search.equals(target)) // different tag names
    return false;
  if (mapping == null) {
    return tn == sn || (sn != null && sn.equals(tn));
  } else {
    String suri = sn == null ? mapping.getAttribute("xmlns") : mapping
        .getAttribute("xmlns:" + sn);
    String turi = tn == null ? child.findRecursiveAttribute("xmlns") : child
        .findRecursiveAttribute("xmlns:" + tn);
    return turi == suri || (turi != null && suri != null && turi.equals(suri));
  }
}
aQute.lib.tagTagfindRecursiveAttribute

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

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Kernel (java.awt.image)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Notification (javax.management)
  • JFileChooser (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • 14 Best Plugins for Eclipse
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