Tabnine Logo
DescendantAxisIterator
Code IndexAdd Tabnine to your IDE (free)

How to use
DescendantAxisIterator
in
org.jaxen.util

Best Java code snippets using org.jaxen.util.DescendantAxisIterator (Showing top 3 results out of 315)

origin: jaxen/jaxen

public Iterator getDescendantAxisIterator(Object contextNode) throws UnsupportedAxisException
{
  return new DescendantAxisIterator( contextNode,
                    this );
}
origin: jaxen/jaxen

/**
 * Returns the next descendant node.
 * 
 * @return the next descendant node
 * 
 * @throws NoSuchElementException if no descendants remain
 * 
 * @see java.util.Iterator#next()
 */
public Object next()
{
  try
  {
    if (hasNext())
    {
      Object node = children.next();
      stack.add(children);
      children = navigator.getChildAxisIterator(node);
      return node;
    }
    throw new NoSuchElementException();
  }
  catch (UnsupportedAxisException e)
  {
    throw new JaxenRuntimeException(e);
  }
}
origin: se.ugli.durian/durian-java-dom

@Override
public Iterator<?> getDescendantAxisIterator(final Object contextNode) throws UnsupportedAxisException {
  return new DescendantAxisIterator(contextNode, this);
}
org.jaxen.utilDescendantAxisIterator

Javadoc

Represents the XPath descendant axis. The "descendant axis contains the descendants of the context node; a descendant is a child or a child of a child and so on; thus the descendant axis never contains attribute or namespace nodes."

Most used methods

  • <init>
  • hasNext
    Returns true if there are any descendants remaining; false otherwise.

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JTable (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top plugins for WebStorm
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