DTMIterator.getCurrentNode
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.apache.xml.dtm.DTMIterator.getCurrentNode (Showing top 20 results out of 315)

  • Common ways to obtain DTMIterator
private void myMethod () {
DTMIterator d =
  • XObject arg;arg.iter()
  • XPathContext xctxt;xctxt.getContextNodeList()
  • Expression m_selectExpression;XPathContext xctxt;m_selectExpression.asIterator(xctxt, contextNode)
  • Smart code suggestions by Codota
}
origin: xalan/xalan

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: robovm/robovm

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: robovm/robovm

int current = ni.getCurrentNode();
if(DTM.NULL == current)
 current = ni.nextNode();
origin: xalan/xalan

int current = ni.getCurrentNode();
if(DTM.NULL == current)
 current = ni.nextNode();
origin: robovm/robovm

int node = m_iterators[i].getCurrentNode();
origin: xalan/xalan

int node = m_iterators[i].getCurrentNode();
origin: robovm/robovm

int n = cnl.getCurrentNode();
if(n == DTM.NULL)
origin: xalan/xalan

int n = cnl.getCurrentNode();
if(n == DTM.NULL)
origin: fabriciocolombo/sonar-delphi

final int nodeId = iterator.getCurrentNode();
Node resultNode = iterator.getDTM(nodeId).getNode(nodeId);
String className = resultNode.getAttributes().getNamedItem("class").getTextContent();
origin: ibinti/bugvm

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: MobiVM/robovm

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: com.bugvm/bugvm-rt

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: com.gluonhq/robovm-rt

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: FlexoVM/flexovm

/**
 * @see DTMIterator#getCurrentNode()
 */
public int getCurrentNode()
{
  if(hasCache())
  {
    int currentIndex = m_next-1;
    NodeVector vec = getVector();
    if((currentIndex >= 0) && (currentIndex < vec.size()))
      return vec.elementAt(currentIndex);
    else
      return DTM.NULL;
  }
  
  if(null != m_iter)
  {
   return m_iter.getCurrentNode();
  }
  else
    return DTM.NULL;
}
origin: MobiVM/robovm

int node = m_iterators[i].getCurrentNode();
origin: com.bugvm/bugvm-rt

int n = cnl.getCurrentNode();
if(n == DTM.NULL)
org.apache.xml.dtmDTMIteratorgetCurrentNode

Javadoc

Get the current node in the iterator. Note that this differs from the DOM's NodeIterator, where the current position lies between two nodes (as part of the maintain-relative-position semantic).

Popular methods of DTMIterator

  • getDTM
    Get an instance of a DTM that "owns" a node handle. Since a node iterator may be passed without a DT
  • nextNode
    Returns the next node in the set and advances the position of the iterator in the set. After a DTMIt
  • getCurrentPos
    Get the current position within the cached list, which is one less than the next nextNode() call wil
  • getLength
    The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
  • allowDetachToRelease
    Specify if it's OK for detach to release the iterator for reuse.
  • clone
    Get a clone of this iterator, but don't reset the iteration in the process, so that it may be used f
  • cloneWithReset
    Get a cloned Iterator that is reset to the start of the iteration.
  • detach
    Detaches the DTMIterator from the set which it iterated over, releasing any computational resources
  • getAxis
    Returns the axis being iterated, if it is known.
  • getDTMManager
    Get an instance of the DTMManager. Since a node iterator may be passed without a DTMManager, this al
  • getExpandEntityReferences
    The value of this flag determines whether the children of entity reference nodes are visible to the
  • getRoot
    The root node of the DTMIterator, as specified when it was created. Note the root node is not the ro
  • getExpandEntityReferences,
  • getRoot,
  • getWhatToShow,
  • isDocOrdered,
  • item,
  • previousNode,
  • reset,
  • runTo,
  • setCurrentPos

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)