Tabnine Logo
TransformerImpl.popCurrentFuncResult
Code IndexAdd Tabnine to your IDE (free)

How to use
popCurrentFuncResult
method
in
org.apache.xalan.transformer.TransformerImpl

Best Java code snippets using org.apache.xalan.transformer.TransformerImpl.popCurrentFuncResult (Showing top 15 results out of 315)

origin: robovm/robovm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: xalan/xalan

XObject val = (XObject)transformer.popCurrentFuncResult();
return (val == null) ? new XString("") // value if no result element.
           : val;
origin: xalan/xalan

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
origin: MobiVM/robovm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: ibinti/bugvm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: com.bugvm/bugvm-rt

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: com.gluonhq/robovm-rt

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: FlexoVM/flexovm

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

XObject val = (XObject)transformer.popCurrentFuncResult();
return (val == null) ? new XString("") // value if no result element.
           : val;
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

XObject val = (XObject)transformer.popCurrentFuncResult();
return (val == null) ? new XString("") // value if no result element.
           : val;
origin: org.apache.xalan/com.springsource.org.apache.xalan

XObject val = (XObject)transformer.popCurrentFuncResult();
return (val == null) ? new XString("") // value if no result element.
           : val;
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Generate the EXSLT function return value, and assign it to the variable
 * index slot assigned for it in ElemExsltFunction compose().
 * 
 */
public void execute(TransformerImpl transformer) throws TransformerException
{    
 XPathContext context = transformer.getXPathContext();
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEvent(this);
 
 // Verify that result has not already been set by another result
 // element. Recursion is allowed: intermediate results are cleared 
 // in the owner ElemExsltFunction execute().
 if (transformer.currentFuncResultSeen()) {
   throw new TransformerException("An EXSLT function cannot set more than one result!");
 }
 int sourceNode = context.getCurrentNode();
 // Set the return value;
 XObject var = getValue(transformer, sourceNode);
 transformer.popCurrentFuncResult();
 transformer.pushCurrentFuncResult(var);
 if (transformer.getDebug())
  transformer.getTraceManager().fireTraceEndEvent(this);    
}
org.apache.xalan.transformerTransformerImplpopCurrentFuncResult

Javadoc

Pops the result of the currently active EXSLT func:function.

Popular methods of TransformerImpl

  • executeChildTemplates
    Execute each of the children of a template element.
  • getMsgMgr
    Return the message manager.
  • getOutputFormat
    Get the output properties used for the transformation.
  • getOutputPropertyNoDefault
    Get the value of a property, without using the default properties. This can be used to test if a pro
  • getXPathContext
    Get the XPath context associated with this transformer.
  • setContentHandler
    Set the content event handler. NEEDSDOC @param handler
  • <init>
    Construct a TransformerImpl.
  • applyTemplateToNode
    Given an element and mode, find the corresponding template and process the contents.
  • clearParameters
    Reset the parameters to a null list.
  • createSerializationHandler
  • currentFuncResultSeen
    Determines whether an EXSLT func:result instruction has been executed for the currently active EXSLT
  • currentTemplateRuleIsNull
    Tell if the current template rule is null, i.e. if we are directly within an apply-templates. Used f
  • currentFuncResultSeen,
  • currentTemplateRuleIsNull,
  • fatalError,
  • getContentHandler,
  • getContextNodeList,
  • getCountersTable,
  • getCurrentElement,
  • getCurrentNode,
  • getCurrentTemplate,
  • getErrorListener

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JList (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Sublime Text 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