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

Best Java code snippets using org.apache.xml.dtm.DTMIterator.isDocOrdered (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: robovm/robovm

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: xalan/xalan

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: robovm/robovm

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
origin: xalan/xalan

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
origin: robovm/robovm

if(m_iter.isDocOrdered())
origin: xalan/xalan

if(m_iter.isDocOrdered())
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: com.gluonhq/robovm-rt

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: MobiVM/robovm

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: ibinti/bugvm

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: FlexoVM/flexovm

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: com.bugvm/bugvm-rt

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * @see DTMIterator#isDocOrdered()
 */
public boolean isDocOrdered()
{
  if(null != m_iter)
    return m_iter.isDocOrdered();
  else
   return true; // can't be sure?
}
origin: com.bugvm/bugvm-rt

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
origin: ibinti/bugvm

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
origin: MobiVM/robovm

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * @see DTMIterator#setRoot(int, Object)
 */
public void setRoot(int nodeHandle, Object environment)
{
  if(null != m_iter)
  {
    XPathContext xctxt = (XPathContext)environment;
    m_dtmMgr = xctxt.getDTMManager();
    m_iter.setRoot(nodeHandle, environment);
    if(!m_iter.isDocOrdered())
    {
      if(!hasCache())
        setShouldCacheNodes(true);
      runTo(-1);
      m_next=0;
    }
  }
  else
    assertion(false, "Can not setRoot on a non-iterated NodeSequence!");
}
org.apache.xml.dtmDTMIteratorisDocOrdered

Javadoc

Returns true if all the nodes in the iteration well be returned in document order.

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.
  • getCurrentNode
    Get the current node in the iterator. Note that this differs from the DOM's NodeIterator, where the
  • 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
  • getDTMManager,
  • getExpandEntityReferences,
  • getRoot,
  • getWhatToShow,
  • item,
  • previousNode,
  • reset,
  • runTo,
  • setCurrentPos

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Notification (javax.management)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job

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)