congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
KeyRefIterator
Code IndexAdd Tabnine to your IDE (free)

How to use
KeyRefIterator
in
org.apache.xalan.transformer

Best Java code snippets using org.apache.xalan.transformer.KeyRefIterator (Showing top 8 results out of 315)

origin: xalan/xalan

/**
 * Get the next node via getNextXXX.  Bottlenecked for derived class override.
 * @return The next node on the axis, or DTM.NULL.
 */
protected int getNextNode()
{                  
  int next;   
 while(DTM.NULL != (next = m_keysNodes.nextNode()))
 {
   if(DTMIterator.FILTER_ACCEPT == filterNode(next))
     break;
 }
 m_lastFetched = next;
 
 return next;
}
origin: xalan/xalan

/**
 * Constructor KeyRefIterator
 *
 *
 * @param ref Key value to match
 * @param ki The main key iterator used to walk the source tree 
 */
public KeyRefIterator(QName name, XMLString ref, Vector keyDecls, DTMIterator ki)
{
 super(null);
 m_name = name;
 m_ref = ref;
 m_keyDeclarations = keyDecls;
 m_keysNodes = ki;
 setWhatToShow(org.apache.xml.dtm.DTMFilter.SHOW_ALL);
}
 
origin: xalan/xalan

assertion(false, "xctxt can not be null here!");
  DTM dtm = getDTM(useNode);
  XMLString exprResult = dtm.getStringValue(useNode);
  if ((null != exprResult) && lookupKey.equals(exprResult))
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

assertion(false, "xctxt can not be null here!");
  DTM dtm = getDTM(useNode);
  XMLString exprResult = dtm.getStringValue(useNode);
  if ((null != exprResult) && lookupKey.equals(exprResult))
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Get the next node via getNextXXX.  Bottlenecked for derived class override.
 * @return The next node on the axis, or DTM.NULL.
 */
protected int getNextNode()
{                  
  int next;   
 while(DTM.NULL != (next = m_keysNodes.nextNode()))
 {
   if(DTMIterator.FILTER_ACCEPT == filterNode(next))
     break;
 }
 m_lastFetched = next;
 
 return next;
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Constructor KeyRefIterator
 *
 *
 * @param ref Key value to match
 * @param ki The main key iterator used to walk the source tree 
 */
public KeyRefIterator(QName name, XMLString ref, Vector keyDecls, DTMIterator ki)
{
 super(null);
 m_name = name;
 m_ref = ref;
 m_keyDeclarations = keyDecls;
 m_keysNodes = ki;
 setWhatToShow(org.apache.xml.dtm.DTMFilter.SHOW_ALL);
}
 
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Get the next node via getNextXXX.  Bottlenecked for derived class override.
 * @return The next node on the axis, or DTM.NULL.
 */
protected int getNextNode()
{                  
  int next;   
 while(DTM.NULL != (next = m_keysNodes.nextNode()))
 {
   if(DTMIterator.FILTER_ACCEPT == filterNode(next))
     break;
 }
 m_lastFetched = next;
 
 return next;
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Get the next node via getNextXXX.  Bottlenecked for derived class override.
 * @return The next node on the axis, or DTM.NULL.
 */
protected int getNextNode()
{                  
  int next;   
 while(DTM.NULL != (next = m_keysNodes.nextNode()))
 {
   if(DTMIterator.FILTER_ACCEPT == filterNode(next))
     break;
 }
 m_lastFetched = next;
 
 return next;
}
org.apache.xalan.transformerKeyRefIterator

Javadoc

This class filters nodes from a key iterator, according to whether or not the use value matches the ref value.

Most used methods

  • filterNode
    Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator. This f
  • assertion
  • getDTM
  • setWhatToShow

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JFileChooser (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top Vim plugins
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