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

How to use
remove
method
in
org.cybergarage.xml.NodeList

Best Java code snippets using org.cybergarage.xml.NodeList.remove (Showing top 9 results out of 315)

origin: i2p/i2p.i2p

public boolean removeNode(Node node) {
  node.setParentNode(null);
  return nodeList.remove(node);
}
origin: i2p/i2p.i2p

public boolean removeNode(String name) {
  return nodeList.remove(getNode(name));
}
origin: i2p/i2p.i2p

private void removeDevice(Node rootNode)
{
  // Thanks for Oliver Newell (2004/10/16)
  // Invoke device removal listener prior to actual removal so Device node 
  // remains valid for the duration of the listener (application may want
  // to access the node)
  Device dev = getDevice(rootNode);
  if( dev != null && dev.isRootDevice() )
    performRemoveDeviceListener( dev );
  
  devNodeList.remove(rootNode);
}
origin: cybergarage/cybergarage-upnp

public boolean removeNode(Node node) {
  node.setParentNode(null);
  return nodeList.remove(node);
}
origin: geniusgithub/MediaPlayer

public boolean removeNode(Node node) {
  node.setParentNode(null);
  return nodeList.remove(node);
}
origin: cybergarage/cybergarage-upnp

public boolean removeNode(String name) {
  return nodeList.remove(getNode(name));
}
origin: geniusgithub/MediaPlayer

public boolean removeNode(String name) {
  return nodeList.remove(getNode(name));
}
origin: cybergarage/cybergarage-upnp

private void removeDevice(Node rootNode)
{
  // Thanks for Oliver Newell (2004/10/16)
  // Invoke device removal listener prior to actual removal so Device node 
  // remains valid for the duration of the listener (application may want
  // to access the node)
  Device dev = getDevice(rootNode);
  if( dev != null && dev.isRootDevice() )
    performRemoveDeviceListener( dev );
  devNodeListLock.writeLock().lock();
  try {
    devNodeList.remove(rootNode);
  }
  finally {
    devNodeListLock.writeLock().unlock();
  }
}
origin: geniusgithub/MediaPlayer

private void removeDevice(Node rootNode)
{
  // Thanks for Oliver Newell (2004/10/16)
  // Invoke device removal listener prior to actual removal so Device node 
  // remains valid for the duration of the listener (application may want
  // to access the node)
  Device dev = getDevice(rootNode);
  if( dev != null && dev.isRootDevice() )
    performRemoveDeviceListener( dev );
  devNodeListLock.writeLock().lock();
  try {
    devNodeList.remove(rootNode);
  }
  finally {
    devNodeListLock.writeLock().unlock();
  }
}
org.cybergarage.xmlNodeListremove

Popular methods of NodeList

  • getNode
  • add
  • clear
  • get
  • getEndsWith
  • insertElementAt
  • iterator
  • size
  • getLevel

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JList (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 25 Plugins for Webstorm
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